Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
d3a5f96d
Commit
d3a5f96d
authored
Dec 10, 2014
by
albert-github
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fortran color CALL as keyword
Color the word CALL as keyword.
parent
dc37f6c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
fortrancode.l
src/fortrancode.l
+6
-4
No files found.
src/fortrancode.l
View file @
d3a5f96d
...
@@ -731,7 +731,7 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I
...
@@ -731,7 +731,7 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I
/*-------- ignore ------------------------------------------------------------*/
/*-------- ignore ------------------------------------------------------------*/
<Start>{IGNORE}/{BS}"("
?
{ // do not search keywords, intrinsics... TODO: complete list
<Start>{IGNORE}/{BS}"("
{ // do not search keywords, intrinsics... TODO: complete list
codifyLines(yytext);
codifyLines(yytext);
}
}
/*-------- inner construct ---------------------------------------------------*/
/*-------- inner construct ---------------------------------------------------*/
...
@@ -979,7 +979,9 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I
...
@@ -979,7 +979,9 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I
/*-------- subprog calls -----------------------------------------*/
/*-------- subprog calls -----------------------------------------*/
<Start>"call"{BS_} {
<Start>"call"{BS_} {
startFontClass("keyword");
codifyLines(yytext);
codifyLines(yytext);
endFontClass();
yy_push_state(YY_START);
yy_push_state(YY_START);
BEGIN(SubCall);
BEGIN(SubCall);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment