lib/qlang/parser.rb in qlang-0.0.141 vs lib/qlang/parser.rb in qlang-0.0.1414
- old
+ new
@@ -59,9 +59,13 @@
cont_token_with_num = $&
cont = IntegralParser.execute(lexed.get_value(cont_token_with_num))
lexed.ch_value(cont_token_with_num, cont)
lexed.ch_token(cont_token_with_num, :R)
+ when /:EFUNC\d/
+ cont_token_with_num = $&
+ cont = lexed.get_value(cont_token_with_num)
+ lexed.squash_with_prn(cont_token_with_num, cont)
when /:CONT\d/
lexed.ch_token($&, :R)
end
lexed.squash_to_cont($1, 2) if lexed.token_str =~ /(:CONT\d|:R\d)(:CONT\d|:R\d)/