mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 22:27:47 -04:00
The C++-style comment marker "//" has been added with the rewrite of the preprocessor features. Since this character sequence occurs in ULRS, the reminder of the URL was considered a comment and stripped from the calendar line. Change parsing of "//" to only start a comment at the begin of a line or when preceeded by a white-space character. PR: 256455 Reported by: Philippe Michel (philippe.michel7 at free.fr) MFC after: 3 days
11 lines
320 B
Text
11 lines
320 B
Text
1 1 jan 1 // comment
|
|
1 2 jan 2 /* comment */
|
|
1 3 jan /* comment */3
|
|
1 4 /* comment*/jan 4
|
|
// comment
|
|
/* comment */1 5 jan 5
|
|
1/* comment */ 6 jan 6
|
|
1 7 jan 7 // /* comment */ comment
|
|
1 1/* comment */1 jan /* comment */11 // comment
|
|
1 12 http://localhost.local/
|
|
1 13 http://localhost.local/ // URL with additional comment
|