cpython/Parser
Yury Selivanov 8fb307cd65 Issue #24619: New approach for tokenizing async/await.
This commit fixes how one-line async-defs and defs are tracked
by tokenizer.  It allows to correctly parse invalid code such
as:

>>> async def f():
...     def g(): pass
...     async = 10

and valid code such as:

>>> async def f():
...     async def g(): pass
...     await z

As a consequence, is is now possible to have one-line
'async def foo(): await ..' functions:

>>> async def foo(): return await bar()
2015-07-22 13:33:45 +03:00
..
acceler.c
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
firstsets.c
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
metagrammar.c
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
parsetok.c Fix a compiler warning on Windows 64-bit in parsetok.c 2013-11-18 01:09:51 +01:00
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 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
Python.asdl PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
tokenizer.c Issue #24619: New approach for tokenizing async/await. 2015-07-22 13:33:45 +03:00
tokenizer.h Issue #24619: New approach for tokenizing async/await. 2015-07-22 13:33:45 +03:00
tokenizer_pgen.c