mjackson / citrus

Parsing Expressions for Ruby

Home Page:http://mjackson.github.io/citrus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Having a curly brace in a string in a grammer does not work.

ryanstout opened this issue · comments

When setting the value of a rule to include a curly brace and it raises parsing
errors on the grammer. Example:
rule method
(def space method_name statements ends) {
"#{method_name.value} = function() { #{statements.value} }"
}
end

Thanks for reporting this issue. Looking into it now.

This issue is fixed in this commit.