You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
I followed the instructions to get a working pgen binary and ran into the following compilation error:
Parser/grammar1.c: In function‘PyGrammar_LabelRepr’:
Parser/grammar1.c:50:20: error: ‘_PyParser_TokenNames’ undeclared (first use in this function)
return _PyParser_TokenNames[lb->lb_type];
^
Parser/grammar1.c:50:20: note: each undeclared identifier is reported only once foreach function it appearsin
Parser/grammar1.c:61:1: warning: control reaches end of non-void function[-Wreturn-type]
}
It is mentioned in the README that we need to overwrite Include/token.h, Include/compile.h, and Parser/tokenizer.c, I assume that's referring to replacing those in cpython with those in typed_ast/ast35 right?