Posted 19 years ago
by Boyd
-
Sr. Software Developer,
Patterson Consulting, LLC

I found a small error with the C# Language Syntax. The XMLComment is not properly terminated when a blank line is inserted. The Visual Studio editor does not allow blank lines in the middle of XML Comments.
The following code appears as a complete XML Comment block in Syntax Editor.
The following code appears as a complete XML Comment block in Syntax Editor.
I haven't fully investigated this, but it appears the problem is that the XMLCommentLineTerminatorToken is using the "{LineTerminatorWhitespaceMacro}* ///" lookahead pattern which allows it to match on blank lines. Should probably be changed to "{WhitespaceMacro}* ///"