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

Fix variables expansion #370

Merged
merged 5 commits into from Jul 17, 2022
Merged

Fix variables expansion #370

merged 5 commits into from Jul 17, 2022

Conversation

vinc
Copy link
Owner

@vinc vinc commented Jul 17, 2022

When we introduced $? we also introduced a bug with commands like print "Hello $name" where the variable key was parsed as $name" instead of $name.

This PR restrict variable names to alphanumeric and make $? a special shortcut to $status.

@vinc vinc marked this pull request as ready for review July 17, 2022 13:39
@vinc vinc merged commit c341aef into trunk Jul 17, 2022
@vinc vinc deleted the fix/variables-expansion branch July 17, 2022 15:01
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.

None yet

1 participant