lib/treetop/compiler/node_classes/character_class.rb in treetop-1.6.5 vs lib/treetop/compiler/node_classes/character_class.rb in treetop-1.6.6
- old
+ new
@@ -18,10 +18,14 @@
assign_result 'nil'
end
end
def expected
- single_quote('['+characters+']')
+ single_quote('['+characters+']')
+ end
+
+ def inline_module
+ nil
end
def grounded_regexp(string)
# Double any backslashes, then backslash any single-quotes:
"'\\A#{string.gsub(/\\/) { '\\\\' }.gsub(/'/) { "\\'"}}'"