Renamed on_start_doctype to on_doctype_start.
This commit is contained in:
parent
f39fe5d857
commit
b8efed5177
|
@ -128,7 +128,7 @@ VALUE oga_xml_lexer_advance(VALUE self)
|
|||
doctype_start = '<!DOCTYPE'i whitespace+;
|
||||
|
||||
action start_doctype {
|
||||
liboga_xml_lexer_callback_simple(self, "on_start_doctype");
|
||||
liboga_xml_lexer_callback_simple(self, "on_doctype_start");
|
||||
fcall doctype;
|
||||
}
|
||||
|
||||
|
|
|
@ -165,7 +165,7 @@ module Oga
|
|||
##
|
||||
# Called when a doctype starts.
|
||||
#
|
||||
def on_start_doctype
|
||||
def on_doctype_start
|
||||
add_token(:T_DOCTYPE_START)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue