summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/commentscan.l')
-rw-r--r--src/commentscan.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index 5db2db5..8635906 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -959,7 +959,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
BEGIN(SkipLang);
}
}
-<Comment>{CMD}"f{"[^}\n]+"}" { // start of a formula with custom environment
+<Comment>{CMD}"f{"[^}\n]+"}"("{"?) { // start of a formula with custom environment
formulaText="\\begin";
formulaEnv=&yytext[2];
formulaText+=formulaEnv;