lib/liquidscript/scanner/liquidscript.rb in liquidscript-0.10.4 vs lib/liquidscript/scanner/liquidscript.rb in liquidscript-0.11.0.rc1
- old
+ new
@@ -35,9 +35,13 @@
lex type
end
end
+ def normalize_identifier(ident)
+ ident.gsub(/\-[a-z]/) { |p| p[1].upcase }
+ end
+
def line
@line
end
def column