Added yield colors to python and cython.

This commit is contained in:
Anthony Scopatz 2012-02-01 02:14:24 -06:00
parent ce6c53c280
commit 62f7045000
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ icolor brightred "cdef cppclass [ 0-9A-Z_]+\(.*?\):"
# Python Keyword Color
color green "\<(and|as|assert|class|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|map|not|or|pass|print|raise|try|while|with)\>"
color green "\<(and|as|assert|class|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|map|not|or|pass|print|raise|try|while|with|yield)\>"
color brightmagenta "\<(continue|break|return)\>"
# Cython Keyword Color

View File

@ -6,7 +6,7 @@ icolor brightred "def [0-9A-Z_]+"
#Keyword Color
color green "\<(and|as|assert|class|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|map|not|or|pass|print|raise|try|while|with)\>"
color green "\<(and|as|assert|class|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|map|not|or|pass|print|raise|try|while|with|yield)\>"
color brightmagenta "\<(continue|break|return)\>"
#Operator Color