mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Fix docblock parsing rule.
We first require that the first character after a /// not be a newline, in addition to it not being another /. Then we make the whole contents of the line optional, so we can handle empty lines.
This commit is contained in:
parent
905dd50d36
commit
69ffe43b10
|
|
@ -105,7 +105,7 @@ HEXDIGIT [a-fA-F0-9]
|
|||
%%
|
||||
;
|
||||
{SPACE}+ { }
|
||||
("///"[^/][^\n\r]*[\n\r]*)+ { return(Sc_ScanDocBlock()); }
|
||||
("///"([^/\n\r][^\n\r]*)?[\n\r]+)+ { return(Sc_ScanDocBlock()); }
|
||||
"//"[^\n\r]* ;
|
||||
[\r] ;
|
||||
[\n] {lineIndex++;}
|
||||
|
|
|
|||
Loading…
Reference in a new issue