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+;
|
doctype_start = '<!DOCTYPE'i whitespace+;
|
||||||
|
|
||||||
action start_doctype {
|
action start_doctype {
|
||||||
liboga_xml_lexer_callback_simple(self, "on_start_doctype");
|
liboga_xml_lexer_callback_simple(self, "on_doctype_start");
|
||||||
fcall doctype;
|
fcall doctype;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -165,7 +165,7 @@ module Oga
|
||||||
##
|
##
|
||||||
# Called when a doctype starts.
|
# Called when a doctype starts.
|
||||||
#
|
#
|
||||||
def on_start_doctype
|
def on_doctype_start
|
||||||
add_token(:T_DOCTYPE_START)
|
add_token(:T_DOCTYPE_START)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue