ASM Syntax Highlighting not handling strings properly

Working on new editor enhancements?
User avatar
Tristano
Enthusiast
Enthusiast
Posts: 190
Joined: Thu Nov 26, 2015 6:52 pm
Location: Italy
Contact:

ASM Syntax Highlighting not handling strings properly

Post by Tristano »

PB 5.60 for Windows: Syntax highlighting of inline ASM interprets a semicolon ";" within a string as the beginning of a comment.

Example:

Code: Select all

!DB '; Hello World' ; comment
... gets highlighted as:

!DB '; Hello World' ; comment

The highlighter doesn't check if the semicolon is part of a literal string.
The PureBASIC Archives: FOSS Resources:
Fred
Administrator
Administrator
Posts: 16581
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: ASM Syntax Highlighting not handling strings properly

Post by Fred »

The syntax highlitghting doesn't parse inline asm at all, because it can depends of the underlying assembler.
Post Reply