Skip to content

Commit

Permalink
First set of files updated to latest naming trend.
Browse files Browse the repository at this point in the history
Themes haven't been updated to this yet, so you may want to wait doing svn up until everything is updated.

Feel free to make corrections -- most important thing is, things that should be styled equally, should share top-name, things which shouldn't be styled equally, should not share top name. So a language should not have half a dozen keyword sub-groups but instead have storage.*, variable.*, support.*, and keyword.*.

git-svn-id: http://svn.textmate.org/trunk/Bundles/Fortran.tmbundle@1176 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
sorbits committed Jun 11, 2005
1 parent 5f5c0d2 commit 1edcd76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Syntaxes/Fortran.plist
Expand Up @@ -19,11 +19,11 @@
{ name = "comment.line.fortran.punchcard-style"; match = "(?s:(^C(.*)$))"; },

{
name = "keyword.fortran.NonExecutable";
name = "keyword.other.NonExecutable.fortran";
match = "\\b(?i:(BLOCK\sDATA|CHARACTER|COMMON|DATA|DIMENSION|DOUBLE\\sPRECISION|ENTRY|EQUIVALENCE|EXTERNAL|FORMAT|FUNCTION|IMPLICIT|INTEGER|INTRINSIC|LOGICAL|PARAMETER|PROGRAM|REAL|SAVE|SUBROUTINE))\\b";
},
{
name = "keyword.fortran.Executable";
name = "keyword.other.Executable.fortran";
match = "\\b(?i:(ASSIGN|BACKSPACE|CALL|CLOSE|CONTINUE|DO|END|ENDFILE|GO\\sTO|IF|THEN|ELSE|INQUIRE|OPEN|PRINT|READ|RETURN|REWIND|STOP|WRITE))\\b";
},

Expand All @@ -33,12 +33,12 @@
},

{ name = "constant.numeric.fortran"; match = "\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"; },
{ name = "string.single-quoted.fortran"; begin = "'"; end = "'"; swallow = "\\\\."; },
{ name = "string.quoted.single.fortran"; begin = "'"; end = "'"; swallow = "\\\\."; },

{ name = "comment.line.fortran.modern"; match = "!.*$"; },

{
name = "keyword.Fortran90";
name = "keyword.other.Fortran90";
match = "\\b(?i:(MODULE|USE|PRIVATE|PUBLIC|RECURSIVE|INTENT|OPTIONAL))\\b";
},

Expand Down

0 comments on commit 1edcd76

Please sign in to comment.