mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-05 07:40:24 +00:00
Properly detects OPTION (_)EXPLICIT to set opex_comments.
This commit is contained in:
parent
fed5798523
commit
a2e1ea0091
|
@ -2991,7 +2991,8 @@ DO
|
|||
IF LEFT$(a3u$, 4) = "REM " OR _
|
||||
(LEFT$(a3u$, 3) = "REM" AND LEN(a3u$) = 3) OR _
|
||||
LEFT$(a3u$, 1) = "'" OR _
|
||||
(LEFT$(a3u$, 7) = "OPTION " AND LEFT$(LTRIM$(MID$(a3u$, 8)), 9) = qb64prefix$ + "EXPLICIT") OR _
|
||||
(LEFT$(a3u$, 7) = "OPTION " AND LEFT$(LTRIM$(MID$(a3u$, 8)), 9) = "_EXPLICIT") OR _
|
||||
(LEFT$(a3u$, 7) = "OPTION " AND LEFT$(LTRIM$(MID$(a3u$, 8)), 8) = "EXPLICIT" AND qb64prefix_set = 1) OR _
|
||||
LEFT$(a3u$, 1) = "$" THEN
|
||||
'It's a comment, $metacommand, or OPTION _EXPLICIT itself, alright.
|
||||
'But even being a comment, there could be an $INCLUDE in there, let's check:
|
||||
|
|
Loading…
Reference in a new issue