cpython/Parser
Yury Selivanov 96ec934e75 Issue #24619: Simplify async/await tokenization.
This commit simplifies async/await tokenization in tokenizer.c,
tokenize.py & lib2to3/tokenize.py.  Previous solution was to keep
a stack of async-def & def blocks, whereas the new approach is just
to remember position of the outermost async-def block.

This change won't bring any parsing performance improvements, but
it makes the code much easier to read and validate.
2015-07-23 15:01:58 +03:00
..
Python.asdl PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
acceler.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
asdl.py Issue #22823: Use set literals instead of creating a set from a list 2014-11-09 15:56:33 -08:00
asdl_c.py Issue #19655: Replace the ASDL parser carried with CPython 2014-05-09 17:58:22 -07:00
bitset.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
firstsets.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
grammar.c Fix compiler warnings on Windows 64-bit in grammar.c 2013-11-18 01:07:38 +01:00
grammar1.c Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
listnode.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
metagrammar.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
myreadline.c Issue #16136: Remove VMS support and VMS-related code 2013-12-21 16:19:10 +01:00
node.c Silenced some warnings about comparison between signed and unsigned integer 2014-09-05 10:10:23 +03:00
parser.c Issue #1772673: The type of `char*` arguments now changed to `const char*`. 2013-10-19 21:03:34 +03:00
parser.h Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60751,60753,60756-60757,60759-60761,60763-60764,60766,60769-60770,60774-60784,60787-60789,60793,60796,60799-60809,60812-60813,60815-60821,60823-60826,60828-60829,60831-60834,60836,60838-60839,60846-60849,60852-60854,60856-60859,60861-60870,60874-60875,60880-60881,60886,60888-60890,60892,60894-60898,60900,60902-60906,60908,60911-60917,60919-60920,60922,60926,60929-60931,60933-60935,60937,60939-60941,60943-60954,60959-60961,60963-60969,60971-60976 via svnmerge from 2008-02-23 13:18:03 +00:00
parsetok.c Fix a compiler warning on Windows 64-bit in parsetok.c 2013-11-18 01:09:51 +01:00
parsetok_pgen.c Issue #10785: Store the filename as Unicode in the Python parser. 2011-04-05 00:39:01 +02:00
pgen.c Got rid of warnings "suggest braces around empty body in an ‘else’ statement" 2015-04-03 15:24:33 +03:00
pgenmain.c Silenced some warnings about comparison between signed and unsigned integer 2014-09-05 10:10:23 +03:00
printgrammar.c Silenced some warnings about comparison between signed and unsigned integer 2014-09-05 10:10:23 +03:00
tokenizer.c Issue #24619: Simplify async/await tokenization. 2015-07-23 15:01:58 +03:00
tokenizer.h Issue #24619: Simplify async/await tokenization. 2015-07-23 15:01:58 +03:00
tokenizer_pgen.c