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

Tilde prefixes are kept in the CST #163

Closed
Niols opened this issue May 8, 2023 · 0 comments · Fixed by #164
Closed

Tilde prefixes are kept in the CST #163

Niols opened this issue May 8, 2023 · 0 comments · Fixed by #164

Comments

@Niols
Copy link
Member

Niols commented May 8, 2023

The Shell script:

~foo

is parsed as:

[ Simple ([], [[(WTildePrefix "~foo")]]) ]

I would not expect the ~ to be part of the string as this information is already carried by WTildePrefix. I would expect:

[ Simple ([], [[(WTildePrefix "foo")]]) ]

This is the same kind of things as #122 which should also be merged eventually in my opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant