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

Issue 6450114: Issue 2728: count pairs of brackets (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by dak
Modified:
11 years, 8 months ago
Reviewers:
Graham Percival
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Issue 2728: count pairs of brackets What this actually does is exiting the parser at the end of the main file, then reentering it for finishing the init file. This delivers useful error messages in case that the main input is incomplete, and provides a reliable parsing boundary.

Patch Set 1 #

Patch Set 2 : Don't even clone. Just exit parser at EOF of main file, reenter for rest of init file. #

Patch Set 3 : Make independent from 2729 patch set #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M lily/lexer.ll View 1 1 chunk +1 line, -1 line 0 comments Download
M lily/lily-parser.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M lily/parser.yy View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 2
Graham Percival
LGTM, and wow it's amazing that such an improvement in usability can come from so ...
11 years, 8 months ago (2012-08-12 14:32:01 UTC) #1
dak
11 years, 8 months ago (2012-08-12 14:50:21 UTC) #2
On 2012/08/12 14:32:01, Graham Percival wrote:
> LGTM, and wow it's amazing that such an improvement in usability can come from
> so few lines of code!

It is probably even more amazing for how long people put up with the old
behavior.
Sign in to reply to this message.

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