lib/bindy/language.treetop in bindy-0.0.1 vs lib/bindy/language.treetop in bindy-0.0.2
- old
+ new
@@ -9,11 +9,12 @@
identifier:identifier space* '(' space* arg_list:arg_list space* ')' <Function>
end
rule arg_list
expression space* ',' space* arg_list <ArgList> /
- expression
+ expression /
+ space*
end
rule identifier
[a-z\_]+
end
@@ -21,10 +22,10 @@
rule value
number / boolean / string
end
rule string
- [\da-zA-ZáéíóúüñÁÉÍÓÚÜÑ¿?!¡\s\@\#\$\%\&\/\\\*\_\-\+\/\\\*\_\-\+\.\,\:\;\<\>\|\"\']+ <LiteralString>
+ "'" value:[\da-zA-ZáéíóúüñÁÉÍÓÚÜÑ¿?!¡\s\@\#\$\%\&\/\\\*\_\-\+\/\\\*\_\-\+\.\:\,\;\<\>\|\"\\(\)]* "'" <LiteralString>
end
rule number
float / integer
end
\ No newline at end of file