Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1921)

Issue 13348054: Issue 3297: Make lexer more robust against unexpected EOF in main input (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by dak
Modified:
8 years, 10 months ago
Reviewers:
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Issue 3297: Make lexer more robust against unexpected EOF in main input This approach works by letting Lily_lexer::pop_state not cross the maininput threshold. Since Lily_lexer::pop_state is the "cooked" form of yy_pop_state (also hiding the extratoken machinery), this keeps the "maininput" state firmly under the lexer's control and avoids exiting it prematurely.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M lily/lexer.ll View 2 chunks +6 lines, -3 lines 0 comments Download

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b