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

Issue 8506043: parser: more specific error messages; issue 3300 (Closed)

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

Description

parser: more specific error messages; issue 3300

Patch Set 1 #

Total comments: 2

Patch Set 2 : add the "(without \\lyricmode)" #

Patch Set 3 : "unexpected string, outside of \lyricmode" #

Total comments: 3

Patch Set 4 : shorter messages #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M lily/parser.yy View 1 2 3 4 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 9
dak
https://codereview.appspot.com/8506043/diff/1/lily/parser.yy File lily/parser.yy (right): https://codereview.appspot.com/8506043/diff/1/lily/parser.yy#newcode2323 lily/parser.yy:2323: | STRING This not fully equivalent, but I think ...
11 years ago (2013-04-08 16:05:20 UTC) #1
Keith
On 2013/04/08 16:05:20, dak wrote: > > Here is the problem I have with this ...
11 years ago (2013-04-08 17:58:43 UTC) #2
dak
On 2013/04/08 17:58:43, Keith wrote: > On 2013/04/08 16:05:20, dak wrote: > > > > ...
11 years ago (2013-04-08 18:07:50 UTC) #3
Keith
On 2013/04/08 18:07:50, dak wrote: > On 2013/04/08 17:58:43, Keith wrote: > > On 2013/04/08 ...
11 years ago (2013-04-12 04:07:15 UTC) #4
dak
On 2013/04/12 04:07:15, Keith wrote: > On 2013/04/08 18:07:50, dak wrote: > > On 2013/04/08 ...
11 years ago (2013-04-12 05:58:58 UTC) #5
dak
On 2013/04/12 05:58:58, dak wrote: > Or something more verbose like > "a markup here ...
11 years ago (2013-04-12 06:05:42 UTC) #6
dak
On 2013/04/12 06:05:42, dak wrote: > On 2013/04/12 05:58:58, dak wrote: > > Or something ...
11 years ago (2013-04-12 06:13:22 UTC) #7
dak
https://codereview.appspot.com/8506043/diff/13001/lily/parser.yy File lily/parser.yy (right): https://codereview.appspot.com/8506043/diff/13001/lily/parser.yy#newcode2995 lily/parser.yy:2995: parser->parser_error (@1, _ ("unexpected markup, without any ^ _ ...
10 years, 8 months ago (2013-08-30 08:52:26 UTC) #8
Keith
10 years, 8 months ago (2013-08-30 19:51:16 UTC) #9
https://codereview.appspot.com/8506043/diff/13001/lily/parser.yy
File lily/parser.yy (right):

https://codereview.appspot.com/8506043/diff/13001/lily/parser.yy#newcode2995
lily/parser.yy:2995: parser->parser_error (@1, _ ("unexpected markup, without
any ^ _ or -, and outside of \\lyricmode"));
On 2013/08/30 08:52:27, dak wrote:
> The error message is a bit too cumbersome.  Maybe "markup outside of text
script
> or \\lyricmode".

Yep.  That might let the whole message fit on a terminal line.
Sign in to reply to this message.

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