We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The resulting def of an Until will recieve the exact name without the names of the parent tokens.
E.g.:
seq("struct", until("value", terminator), def("afterValue", con(1)) );
The name of until is value, while it should be struct.value. The def gets the correct name struct.afterValue.
until
def
The problem now is that you are unable to select these values specifically if you are only interested in a value within in named structure.
The fix is simple: the ParseValue in until should use environment.scope instead of name
environment.scope
name
The text was updated successfully, but these errors were encountered:
#367 Use scope of environment for ParseValue in Until instead of the …
32a41c3
…direct name.
Merge pull request #368 from parsingdata/until-name-scope-bug
e3a38c6
#367 Use scope of environment for ParseValue in Until instead of the direct name.
Successfully merging a pull request may close this issue.
The resulting def of an Until will recieve the exact name without the names of the parent tokens.
E.g.:
The name of
until
is value, while it should be struct.value. Thedef
gets the correct name struct.afterValue.The problem now is that you are unable to select these values specifically if you are only interested in a value within in named structure.
The fix is simple: the ParseValue in until should use
environment.scope
instead ofname
The text was updated successfully, but these errors were encountered: