Open mingodad opened 3 years ago
Trying to test the kickstart tutorial on Linux I was getting errors when testing the input with 2+3:
2+3
https://cenotelie.fr/projects/hime/tutorials/net-kickstart
ERROR (1, 4) Unexpected character ' ' (U+A) ERROR (1, 4) Unexpected token " "; expected: $, *, /, +, -
It was due to bad white space definition:
WHITE_SPACE -> U+0020 | U+0009 | U+000B | U+000C ;
With this (from hime grammar) it works:
WHITE_SPACE -> U+0020 | U+0009 | U+000D /* CR */ | U+000A /* LF */ | U+000D U+000A /* CR LF */ ;
Trying to test the kickstart tutorial on Linux I was getting errors when testing the input with
2+3
:https://cenotelie.fr/projects/hime/tutorials/net-kickstart
It was due to bad white space definition:
With this (from hime grammar) it works: