Add preprocessor stuff to fortran.

This commit is contained in:
Anthony Scopatz 2012-02-06 16:36:05 -06:00
parent a60a5a653c
commit b65096fd98

View File

@ -39,6 +39,9 @@ color yellow "[.:;,+*|=!\%]" "<" ">" "/" "-" "&"
#Parenthetical Color #Parenthetical Color
color magenta "[(){}]" "\[" "\]" color magenta "[(){}]" "\[" "\]"
# Add preprocessor commands.
color brightcyan "^[[:space:]]*#[[:space:]]*(define|include|(un|ifn?)def|endif|el(if|se)|if|warning|error)"
## String highlighting. ## String highlighting.
icolor brightblue "<[^= ]*>" ""(\\.|[^"])*"" icolor brightblue "<[^= ]*>" ""(\\.|[^"])*""