lib/qlang/lexer/func_lexer.rb in qlang-0.0.14142135 vs lib/qlang/lexer/func_lexer.rb in qlang-0.0.27000000
- old
+ new
@@ -1,8 +1,8 @@
module Qlang
module Lexer
class FuncLexer < Base
- rule(/\w\(\w( ?, ?\w)*\)/) { :FDEF }
+ rule(%r@#{FUNCCV}@) { :FDEF }
rule(/\=/) { :EQL }
rule(/[ \t\f]/)
rule(/\r\n/) { :NLIN }