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

All illegal function identifiers should result in parse errors #7

Open
mistydemeo opened this issue Sep 13, 2015 · 0 comments
Open

Comments

@mistydemeo
Copy link
Owner

Illegal function identifiers (for example, identifiers beginning with a number) are only flagged for the first function call in a series; otherwise the function call is simply skipped during parsing.

For example, this fails as expected:

$ xg 1sub
Unable to parse provided program: Expected W:(abcd...,abcd...) (at char 0), (line:1, col:1)

However, this works, with the invalid expressions skipped:

$ xg 'sub 2sub sub'
Jackymancs4 added a commit to Jackymancs4-Fork/xenoglossia that referenced this issue Mar 16, 2018
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