Skip to content

Commit c2f54a9

Browse files
committed
lex multiline comments in -lang qb|deprecated|fblite same as in -lang fb
- -lang qb|deprecated|fblite should not be looking for "/'" multiline comment starters in single line comments
1 parent 170d08a commit c2f54a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/compiler/lex.bas

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1850,8 +1850,7 @@ read_char:
18501850
t->class = FB_TKCLASS_OPERATOR
18511851
'' only check for multiline comment if not inside
18521852
'' a single line comment already (thanks to VonGodric for help)
1853-
if( (flags and LEXCHECK_NOMULTILINECOMMENT) = 0 or _
1854-
fbLangIsSet( FB_LANG_FB ) = FALSE ) then
1853+
if( (flags and LEXCHECK_NOMULTILINECOMMENT) = 0 ) then
18551854
'' "/'"?
18561855
if( lexCurrentChar( ) = CHAR_APOST ) then
18571856
'' multi-line comment..

0 commit comments

Comments
 (0)