Issue Parsing Block with Variables: Text Parser Stopping Before Final Character #182
Unanswered
kingwill101
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Looking at the linter and the trace of parses are good strategies. I also recommend writing unit tests for every production, starting from the leaves. Something along the lines of JSON Tests or Pascal Tests. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to parse the following block
my parser parses all the way to just before the final
"
. I'm not sure where to go from here.i believe the issue is the
text()
parser but none of the combinations i've used works.the expected outcome would be to do
text()
variable()
text()
, but as mentioned the lasttext()
isn't being calledlint and trace of the test https://gist.github.com/kingwill101/47faf53b7bfdfef4659d39602ed26f5b
Beta Was this translation helpful? Give feedback.
All reactions