lib/qlang/lexer/func_lexer.rb in qlang-0.0.27 vs lib/qlang/lexer/func_lexer.rb in qlang-0.0.141

- old
+ new

@@ -1,13 +1,13 @@ module Qlang module Lexer class FuncLexer < Base - rule(%r@#{FUNCCV}@) { :FDEF } + rule(/\w\(\w( ?, ?\w)*\)/) { :FDEF } rule(/\=/) { :EQL } rule(/[ \t\f]/) rule(/\r\n/) { :NLIN } - rule(/[\w\(].*/) { :FOML } + rule(/\w.*/) { :OTHER } end end end