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

Nitcc occasional tokens #2845

Merged
merged 5 commits into from
Jul 25, 2024
Merged

Nitcc occasional tokens #2845

merged 5 commits into from
Jul 25, 2024

Conversation

privat
Copy link
Member

@privat privat commented Jul 25, 2024

Introduce the keyword Occasional that make token be ignored instead of producing syntax errors.
This makes it easier to parse some language where spaces and/or new lines are sometime meaningful but not always.

Copy link

Test Results

    65 files     312 suites   14m 12s ⏱️
14 173 tests 13 631 ✅ 541 💤 0 ❌ 1 🔥
14 228 runs  13 671 ✅ 556 💤 0 ❌ 1 🔥

For more details on these errors, see this check.

Results for commit d5a0469.

@privat privat merged commit e8e9cca into nitlang:master Jul 25, 2024
18 of 21 checks passed
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

Successfully merging this pull request may close these issues.

1 participant