Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch: py3.7
Changeset: r98457:3749f66b8f56
Date: 2020-01-06 14:12 +0100
http://bitbucket.org/pypy/pypy/changeset/3749f66b8f56/
Log: import PyPy modifications (for revdb)
diff --git a/pypy/interpreter/pyparser/data/Grammar3.7
b/pypy/interpreter/pyparser/data/Grammar3.7
--- a/pypy/interpreter/pyparser/data/Grammar3.7
+++ b/pypy/interpreter/pyparser/data/Grammar3.7
@@ -107,7 +107,7 @@
atom: ('(' [yield_expr|testlist_comp] ')' |
'[' [testlist_comp] ']' |
'{' [dictorsetmaker] '}' |
- NAME | NUMBER | STRING+ | '...' | 'None' | 'True' | 'False')
+ NAME | NUMBER | STRING+ | '$NUM' | '...' | 'None' | 'True' | 'False')
testlist_comp: (test|star_expr) ( comp_for | (',' (test|star_expr))* [','] )
trailer: '(' [arglist] ')' | '[' subscriptlist ']' | '.' NAME
subscriptlist: subscript (',' subscript)* [',']
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit