Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad white space definition on tutorials/*-kickstart #75

Open
mingodad opened this issue Aug 30, 2021 · 0 comments
Open

Bad white space definition on tutorials/*-kickstart #75

mingodad opened this issue Aug 30, 2021 · 0 comments

Comments

@mingodad
Copy link

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

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 */ ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant