Uh oh!
There was an error while loading. Please reload this page.
Fix lookahead of soft keywords in the PEG parser - #20436
Conversation
pablogsal
commented
May 26, 2020
I was playing a bit with the feature and realized that we missed the lookahead code. |
a4c9940 to
caeaa31Comparelysnikolaou
commented
May 26, 2020
When were soft keywords added? I can't remember us implementing that. |
pablogsal
commented
May 26, 2020
|
Uh oh!
There was an error while loading. Please reload this page.
gvanrossum
left a comment
There was a problem hiding this comment.
Okay, everything else LGTM. I now remember noticing this (during my hack to add a print statement) and thinking "oh, I need to add _PyPegen_lookahead_with_string" -- and then forgetting about it.
Uh oh!
There was an error while loading. Please reload this page.
lysnikolaou
commented
May 26, 2020
Nice. |
gvanrossum
commented
May 26, 2020
There's one caveat: we need to remind people to use |
That could be on the "new parser guide" on the dev guide. I was preparing something for that, but I am currently waiting to see how we want to approach #19969 first. |
miss-islington
commented
May 26, 2020
@pablogsal: Status check is done, and it's a success ✅ . |
Automerge-Triggered-By: @gvanrossum