Project

General

Profile

Bug #51

SciLexer.dll - embedded quotes within string is seen as unclosed string

Added by Wil van Antwerpen almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
06/22/2017
Due date:
% Done:

100%


Description

See image, the lexer sees it as an unclosed string, which is of course not true.

TH3-SciLexer-unclosedString.png View (16.3 KB) Wil van Antwerpen, 06/22/2017 05:17 PM


Subtasks

Bug #52: SciLexer.dll - EOL Comment after embedded quotes is seen as EOL commentClosedWil van Antwerpen

History

#1 Updated by Wil van Antwerpen almost 7 years ago

  • Status changed from New to In Progress

The problem here was that a string open and close could be by either a single quote or a double quote.
Same for closing the string.

So "abc' as well as 'def" where both seen as valid strings as the code did not track if the string literal was started with either a single or double quote.
We are now tracking that in line state.

#2 Updated by Wil van Antwerpen almost 7 years ago

  • Status changed from In Progress to Resolved

#3 Updated by Wil van Antwerpen almost 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF