Files
openide/python/testData/highlighting/returnOutsideOfFunction.py
T
Andrey Vlasovskikh d616d70c50 Parse and highlight the 'async' keyword (PY-16094)
We had to switch to stack-based parsing contexts in order to be able
to use context-sensitive token filtering for 'async'.

Also this commit fixes the highlighting annotator issue with blinking
names of the functions and blinking 'async'.
2015-09-06 20:04:50 +03:00

3 lines
144 B
Python

def <info descr="null">foo</info>():
class <info descr="null">C</info>:
<error descr="'return' outside of function">return 1</error>