-
Notifications
You must be signed in to change notification settings - Fork 34
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
--allowed-start-rules cli option is broken. #53
Comments
Thanks @cd1m0 Fixed. |
So I don't think this is fixed. In b893042 you added this code:
However I think you meant to say "||" instead of "|". The type of bitwise-or-ing 2 strings is actually a number. So if you run this code you still get an error:
|
cd1m0
added a commit
to Consensys/scribble
that referenced
this issue
Feb 9, 2021
- temporarily switch ts-pegjs to my own repo until metadevpro/ts-pegjs#53 gets fixed
Thanks @cd1m0 for catching the typo. Just fixed in 0.3.1 |
Thanks for fixing this so quickly! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to use the --allowed-start-rules option results in an exception:
I believe
options.allowedStartRules
is a string, while an array is expected.Perhaps there is a missing
split(',')
on this line https://github.com/metadevpro/ts-pegjs/blob/master/src/cli.js#L32The text was updated successfully, but these errors were encountered: