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

Break up keyword in some phrases #20

Merged
merged 1 commit into from
Sep 9, 2023
Merged

Break up keyword in some phrases #20

merged 1 commit into from
Sep 9, 2023

Conversation

jchros
Copy link
Contributor

@jchros jchros commented Sep 9, 2023

This makes the parser less rigid, allowing for comments, line-breaks, includes and multiple white space between the keyword as well as outputting a syntax tree that's more faithful to the actual content of the code.

I also took the opportunity to make the "PROCEDURE" keyword of the block terminator of the PROCEDURE statement optional and to remove the useless space after the "AVAIL[ABLE]" keyword.

This makes the parser less rigid, allowing for comments, line-breaks,
includes and multiple white space between the keyword as well as
outputting a syntax tree that's more faithful to the actual content of
the code.

I also took the opportunity to make the "PROCEDURE" keyword of the block
terminator of the PROCEDURE statement optional and to remove the
useless space after the "AVAIL[ABLE]" keyword.
@jkbz64 jkbz64 merged commit a2518fe into usagi-coffee:master Sep 9, 2023
1 check 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.

2 participants