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

Issue 6778055: Allow quoted identifiers like to be used like \"violin1", not just defined. (Closed)

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

Description

Allow quoted identifiers like to be used like \"violin1", not just defined. Consists of the following four commits: Add regtest for quoted identifiers Allow quoted identifiers like to be used like \"violin1", not just defined. A frequent complaint is the absence of identifiers with numbers in them, like violin1. Defining such identifiers has always been possible with "violin1" = { c''4 c c c } This patch lets one actually use them by calling them with \"violin1" lexer.ll: duplicate a few quotes in character sets to help syntax highlighting This uses regular expressions like [^''] rather than [^'] in order to keep the confusion of editors like Emacs tolerable. lexer.ll: lyric_quote was not necessary as separate state.

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use a separate "commandquote" mode instead of overusing quote mode #

Patch Set 3 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -5 lines) Patch
A input/regression/identifier-quoted.ly View 1 chunk +26 lines, -0 lines 0 comments Download
M lily/lexer.ll View 1 2 10 chunks +34 lines, -5 lines 0 comments Download

Messages

Total messages: 18
lemzwerg
LGTM.
11 years, 6 months ago (2012-10-26 13:58:41 UTC) #1
marc
On 2012/10/26 13:58:41, lemzwerg wrote: > LGTM. +1 Nice to have this feature available!
11 years, 6 months ago (2012-10-28 07:46:36 UTC) #2
dak
On 2012/10/28 07:46:36, marc wrote: > On 2012/10/26 13:58:41, lemzwerg wrote: > > LGTM. > ...
11 years, 6 months ago (2012-10-28 08:25:25 UTC) #3
t.daniels_treda.co.uk
David wrote: >> Nice to have this feature available! > > It is more a ...
11 years, 6 months ago (2012-10-28 08:47:50 UTC) #4
dak
On 2012/10/28 08:47:50, t.daniels_treda.co.uk wrote: > David wrote: > > >> Nice to have this ...
11 years, 6 months ago (2012-10-28 10:02:50 UTC) #5
t.daniels_treda.co.uk
> On 2012/10/28 08:47:50, t.daniels_treda.co.uk wrote: >> David wrote: > >> >> Nice to have ...
11 years, 6 months ago (2012-10-28 10:08:54 UTC) #6
marc
Am 28.10.2012 09:25, schrieb dak@gnu.org: > Reviewers: lemzwerg, marc, > > Message: > On 2012/10/28 ...
11 years, 6 months ago (2012-10-28 14:38:18 UTC) #7
Keith
http://codereview.appspot.com/6778055/diff/1/lily/lexer.ll File lily/lexer.ll (right): http://codereview.appspot.com/6778055/diff/1/lily/lexer.ll#newcode95 lily/lexer.ll:95: The inside of \"violin1" is marked by nesting two ...
11 years, 6 months ago (2012-10-28 17:38:10 UTC) #8
dak
On 2012/10/28 17:38:10, Keith wrote: > http://codereview.appspot.com/6778055/diff/1/lily/lexer.ll > File lily/lexer.ll (right): > > http://codereview.appspot.com/6778055/diff/1/lily/lexer.ll#newcode95 > ...
11 years, 6 months ago (2012-10-28 18:05:20 UTC) #9
Keith
Well, David has pointed out some shortcomings, but I am not sure if they are ...
11 years, 6 months ago (2012-10-30 04:06:18 UTC) #10
dak
On 2012/10/30 04:06:18, Keith wrote: > Well, David has pointed out some shortcomings, but I ...
11 years, 6 months ago (2012-10-30 05:43:34 UTC) #11
dak
Actually, I would be perfectly fine with binning both \violin.1 as well as \"violin1". I ...
11 years, 6 months ago (2012-10-30 06:05:57 UTC) #12
Keith
On Mon, 29 Oct 2012 22:43:34 -0700, <dak@gnu.org> wrote: > if that is a real ...
11 years, 6 months ago (2012-10-30 06:07:10 UTC) #13
Keith
On 2012/10/30 06:05:57, dak wrote: > Actually, I would be perfectly fine with binning both ...
11 years, 6 months ago (2012-10-30 06:17:30 UTC) #14
dak
On 2012/10/30 06:17:30, Keith wrote: > On 2012/10/30 06:05:57, dak wrote: > > Actually, I ...
11 years, 6 months ago (2012-10-30 07:22:29 UTC) #15
t.daniels_treda.co.uk
David wrote Tuesday, October 30, 2012 6:05 AM > Actually, I would be perfectly fine ...
11 years, 6 months ago (2012-10-30 11:54:35 UTC) #16
marc
Am 30.10.2012 12:54, schrieb Trevor Daniels: > David wrote Tuesday, October 30, 2012 6:05 AM ...
11 years, 6 months ago (2012-10-30 20:22:59 UTC) #17
dak
10 years, 7 months ago (2013-09-27 16:51:58 UTC) #18
Rebased.
Sign in to reply to this message.

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