Commit Graph
3 Commits
Author SHA1 Message Date
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
Dmitry Jemerov ab7329d8d3 don't use SyntaxMatchers.IN_FUNCTION in ReturnAnnotator; more interesting test 2011-09-12 18:20:05 +02:00
Dmitry Jemerov 326e677837 highlighting tests; fix try/finally parsing; drop old try/finally PSI; fix "continue in finally" highlighting 2008-02-02 23:51:48 +03:00