CompilerTeaching / Pegmatite

A library for reusable parsers
http://compilerteaching.github.io/pegmatite/
BSD 2-Clause "Simplified" License
16 stars 9 forks source link

Calculator does not calculate correctly #22

Closed trombonehero closed 8 years ago

trombonehero commented 8 years ago
enter a math expression (+ - * /, floats, parentheses) or enter to exit:
1 + 1
success
result = 4981
parse tree:
+
        4932
        49
trombonehero commented 8 years ago

Possibly something to do with char32_t?

davidchisnall commented 8 years ago

Could be. I only see this with whitespace...

davidchisnall commented 8 years ago

Hmm, no, I see this now after a git pull. Recent regression...