Remove no longer needed matching
This commit is contained in:
parent
9e470ebdcd
commit
e670892497
@ -58,9 +58,6 @@ def prelude(f, out)
|
|||||||
when /\A%%/
|
when /\A%%/
|
||||||
out << "%%\n"
|
out << "%%\n"
|
||||||
return
|
return
|
||||||
when /\A%token/, /\A%type/, /\A} <node(?>_\w+)?>/
|
|
||||||
# types in %union which have corresponding set_yylval_* macro.
|
|
||||||
out << line
|
|
||||||
else
|
else
|
||||||
if (/^enum lex_state_(?:bits|e) \{/ =~ line)..(/^\}/ =~ line)
|
if (/^enum lex_state_(?:bits|e) \{/ =~ line)..(/^\}/ =~ line)
|
||||||
case line
|
case line
|
||||||
@ -72,8 +69,8 @@ def prelude(f, out)
|
|||||||
@exprs[name] = "equals to " + (val.start_with?("(") ? "<tt>#{val}</tt>" : "+#{val}+")
|
@exprs[name] = "equals to " + (val.start_with?("(") ? "<tt>#{val}</tt>" : "+#{val}+")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
out << line
|
|
||||||
end
|
end
|
||||||
|
out << line
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user