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
asdl.py
asdl_c.py
bitset.c
firstsets.c
grammar.c
grammar1.c
listnode.c
metagrammar.c
myreadline.c
node.c
parser.c
parser.h
parsetok.c
parsetok_pgen.c
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
printgrammar.c
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