Add preprocessor stuff to fortran.
This commit is contained in:
@@ -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 "<[^= ]*>" ""(\\.|[^"])*""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user