summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2017-09-02 14:51:28 (GMT)
committerGitHub <noreply@github.com>2017-09-02 14:51:28 (GMT)
commit723b04b755197c494dd5e790524416fd136938d4 (patch)
treec904c5315892393f8fe0d7c889a20a9819a4d18c /src
parentf2be37c5e404b4760348b73bfa65998605fffb27 (diff)
parentec12eb659d8c8e78ad4bb15d1a941ac3153a0f66 (diff)
downloadDoxygen-723b04b755197c494dd5e790524416fd136938d4.zip
Doxygen-723b04b755197c494dd5e790524416fd136938d4.tar.gz
Doxygen-723b04b755197c494dd5e790524416fd136938d4.tar.bz2
Merge pull request #590 from albert-github/feature/bug_786409_2
Bug 786409 - parsing error in Fortran file with preprocessing
Diffstat (limited to 'src')
-rw-r--r--src/pre.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pre.l b/src/pre.l
index 4c4763d..40842f4 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -2902,7 +2902,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
}
}
<*>"//"[/]? {
- if (YY_START==SkipVerbatim || YY_START==SkipCond)
+ if (YY_START==SkipVerbatim || YY_START==SkipCond || getLanguageFromFileName(g_yyFileName)==SrcLangExt_Fortran)
{
REJECT;
}