Simplified the lexer output for doctypes.
This commit is contained in:
1 parent
ac775918ee
commit
470be5a839
3 files changed
+10
-10
No files matched your search
+2
-2
@@ -282,7 +282,7 @@ module Oga
|
||||
|
||||
action start_doctype {
|
||||
emit_buffer
|
||||
t(:T_DOCTYPE_START)
|
||||
add_token(:T_DOCTYPE_START, nil)
|
||||
fcall doctype;
|
||||
}
|
||||
|
||||
@@ -300,7 +300,7 @@ module Oga
|
||||
whitespace;
|
||||
|
||||
'>' => {
|
||||
t(:T_DOCTYPE_END)
|
||||
add_token(:T_DOCTYPE_END, nil)
|
||||
fret;
|
||||
};
|
||||
*|;
|
||||
|
||||
Reference in new issue
Block a user