lib/qlang/lexer/wrap_lexer.rb in qlang-0.0.141 vs lib/qlang/lexer/wrap_lexer.rb in qlang-0.0.1414

- old
+ new

@@ -1,8 +1,9 @@ module Qlang module Lexer class WrapLexer < Base - rule(/\w\(\w( ?, ?\w)*\) ?= ?[^\r\n]+/) { :FUNC } + rule(/[fgh]\(\w( ?, ?\w)*\) ?= ?[^\r\n]+/) { :FUNC } + rule(/[fgh]\( ?\d( *, *\d)* *\)/) { :EFUNC } rule(/S *\(.+\)\[.+\]/) { :ITGL } rule(/\(/) { :LPRN } rule(/\)/) { :RPRN } rule(/\{/) { :LBRC } rule(/\}/) { :RBRC }