newline fiddling in the parser yields goods results

This commit is contained in:
Torsten Ruger
2014-05-12 13:47:47 +03:00
parent ee4d8033af
commit 956d1eb135
10 changed files with 69 additions and 44 deletions

View File

@@ -23,7 +23,7 @@ module Parser
#infix doing the heavy lifting here,
# is defined as an expressions and array of [atoms,priority,binding] triples
rule(:operator_expression) do infix_expression(expression,
rule(:operator_expression) do infix_expression(simple_expression,
[exponent, 120, :left] ,
[multiply, 120, :left] ,
[plus, 110, :left],