diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2012-07-30 09:56:54 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2012-07-30 09:56:54 (GMT) |
commit | 3583a7c0bea47665a06d14a64b62376eee21c528 (patch) | |
tree | f5fc8d9f03c0266165f83c826d57ae30dc236ad6 /src/fortrancode.l | |
parent | 8e698d4bb72a63f1908a81348ed9390e68e05234 (diff) | |
download | Doxygen-3583a7c0bea47665a06d14a64b62376eee21c528.zip Doxygen-3583a7c0bea47665a06d14a64b62376eee21c528.tar.gz Doxygen-3583a7c0bea47665a06d14a64b62376eee21c528.tar.bz2 |
Included missing Fortran patches
Diffstat (limited to 'src/fortrancode.l')
-rw-r--r-- | src/fortrancode.l | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l index e9fefea..d7385ff 100644 --- a/src/fortrancode.l +++ b/src/fortrancode.l @@ -770,10 +770,13 @@ PREFIX (RECURSIVE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,2}(RECURSIVE|PURE|ELEMENTA BEGIN(UseOnly); } <UseOnly>{BS},{BS} { codifyLines(yytext); } +<UseOnly>{BS}&{BS}"\n" { codifyLines(yytext); } <UseOnly>{ID} { - codifyLines(yytext); + g_insideBody=TRUE; + generateLink(*g_code, yytext); + g_insideBody=FALSE; useEntry->onlyNames.append(yytext); - } + } <Use,UseOnly>"\n" { unput(*yytext); yy_pop_state(); @@ -1015,6 +1018,13 @@ PREFIX (RECURSIVE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,2}(RECURSIVE|PURE|ELEMENTA <*>"\\\\" { str+=yytext; /* ignore \\ */} <*>"\\\""|\\\' { str+=yytext; /* ignore \" */} +<String>\n { // string with \n inside + str+=yytext; + startFontClass("stringliteral"); + codifyLines(str); + endFontClass(); + str = ""; + } <String>\"|\' { // string ends with next quote without previous backspace if(yytext[0]!=stringStartSymbol) REJECT; // single vs double quote str+=yytext; |