Skip to content

Commit 6be1731

Browse files
committed
issue #10932 message: [generated]:8: warning: invalid argument for command '\iline'
For generated files also a line number -1 is possible with the iline command.
1 parent 2670570 commit 6be1731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doctokenizer.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ REFWORD4 {REFWORD4_NOCV}{CVSPEC}?
348348
REFWORD {FILEMASK}|{LABELID}|{REFWORD2}|{REFWORD3}|{REFWORD4}
349349
REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV}
350350
RCSID "$"("Author"|"Date"|"Header"|"Id"|"Locker"|"Log"|"Name"|"RCSfile"|"Revision"|"Source"|"State")":"[^:\n$][^\n$]*"$"
351-
LINENR {BLANK}*([1-9][0-9]*|"0")
351+
LINENR {BLANK}*([1-9][0-9]*|"0"|"-1")
352352

353353
SHOWDATE ([0-9]{4}"-"[0-9]{1,2}"-"[0-9]{1,2})?({WS}*[0-9]{1,2}":"[0-9]{1,2}(":"[0-9]{1,2})?)?
354354

0 commit comments

Comments
 (0)