Project

General

Profile

Actions

Bug #51

closed

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

Added by Wil van Antwerpen almost 9 years ago. Updated over 8 years ago.

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

100%

Estimated time:
(Total: 0:00 h)

Description

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


Files

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

Subtasks 1 (0 open1 closed)

Bug #52: SciLexer.dll - EOL Comment after embedded quotes is seen as EOL commentClosedWil van Antwerpen06/22/2017

Actions
Actions #1

Updated by Wil van Antwerpen almost 9 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.

Actions #2

Updated by Wil van Antwerpen almost 9 years ago

  • Status changed from In Progress to Resolved
Actions #3

Updated by Wil van Antwerpen over 8 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF