Renamed on_start_doctype to on_doctype_start.

This commit is contained in:
Yorick Peterse 2014-05-06 23:18:44 +02:00
parent f39fe5d857
commit b8efed5177
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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