8000 Miek/namespace by miekg · Pull Request #47 · miekg/cf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Miek/namespace #47

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

Merged
merged 2 commits into from
Aug 29, 2024
Merged

Miek/namespace #47

merged 2 commits into from
Aug 29, 2024

Conversation

miekg
Copy link
Owner
@miekg miekg commented Aug 29, 2024

No description provided.

miekg added 2 commits August 29, 2024 10:44
This match 'xxx:yyyy' as a valid function. The tokens we get are
"strange": KeywordDeclaration Punctuation NameFunction

grab them all and add them to the AST. Then when printing we loose the
":" (Punctuation) so just print that too, but special case it (hack!) to
not also print otherones, like "," and "}" which handle in the correct
places.

Add lexer support for this was not working, so just parse it like this.

Closes: #36

Signed-off-by: Miek Gieben <miek@miek.nl>
Signed-off-by: Miek Gieben <miek@miek.nl>
@miekg miekg merged commit 762f27d into main Aug 29, 2024
2 checks passed
@miekg miekg delete 5DAD d the miek/namespace branch August 29, 2024 08:55
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
0