Skip to content

Commit e9ec0d0

Browse files
committed
issue #10719 "unable to resolve reference to ... for \ref command" in file comment - but it's right there
Correct recording of nested anonymous `@cond` commands.
1 parent 6148fce commit e9ec0d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pre.l

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1485,6 +1485,7 @@ WSopt [ \t\r]*
14851485
BEGIN(SkipVerbatim);
14861486
}
14871487
<SkipCond>[\\@][\\@]"cond"[ \t]+ {}// escaped cond command
1488+
<SkipCond>[\\@]"cond"/\n |
14881489
<SkipCond>[\\@]"cond"[ \t]+ { // cond command in a skipped cond section, this section has to be skipped as well
14891490
// but has to be recorded to match the endcond command
14901491
startCondSection(yyscanner," ");

0 commit comments

Comments
 (0)