It is currently Wed Jan 27, 2021 3:48 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: ASM Syntax Highlighting not handling strings properly
PostPosted: Thu May 11, 2017 1:14 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Nov 26, 2015 6:52 pm
Posts: 190
Location: Italy
PB 5.60 for Windows: Syntax highlighting of inline ASM interprets a semicolon ";" within a string as the beginning of a comment.

Example:

Code:
!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:


Top
 Profile  
Reply with quote  
 Post subject: Re: ASM Syntax Highlighting not handling strings properly
PostPosted: Tue Jul 11, 2017 3:47 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 14181
Location: France
The syntax highlitghting doesn't parse inline asm at all, because it can depends of the underlying assembler.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye