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

Delta Between Two Patch Sets: lily/lexer.ll

Issue 4553056: New alist to replace special characters. (Closed)
Left Patch Set: Trailing whitespace removed. Created 13 years, 9 months ago
Right Patch Set: Partially reverting one of Neil's changes. Created 13 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « input/regression/markup-special-characters.ly ('k') | lily/text-interface.cc » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 %{ // -*-Fundamental-*- 1 %{ // -*-Fundamental-*-
2 /* 2 /*
3 This file is part of LilyPond, the GNU music typesetter. 3 This file is part of LilyPond, the GNU music typesetter.
4 4
5 Copyright (C) 1996--2011 Han-Wen Nienhuys <hanwen@xs4all.nl> 5 Copyright (C) 1996--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
6 Jan Nieuwenhuizen <janneke@gnu.org> 6 Jan Nieuwenhuizen <janneke@gnu.org>
7 7
8 LilyPond is free software: you can redistribute it and/or modify 8 LilyPond is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by 9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or 10 the Free Software Foundation, either version 3 of the License, or
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 %x sourcefilename 126 %x sourcefilename
127 %x version 127 %x version
128 128
129 A [a-zA-Z\200-\377] 129 A [a-zA-Z\200-\377]
130 AA {A}|_ 130 AA {A}|_
131 N [0-9] 131 N [0-9]
132 AN {AA}|{N} 132 AN {AA}|{N}
133 ANY_CHAR (.|\n) 133 ANY_CHAR (.|\n)
134 PUNCT [?!:'`] 134 PUNCT [?!:'`]
135 ACCENT \\[`'"^] 135 ACCENT \\[`'"^]
136 SPECIAL_CHAR [&@]
136 NATIONAL [\001-\006\021-\027\031\036] 137 NATIONAL [\001-\006\021-\027\031\036]
137 TEX» » {AA}|-|{PUNCT}|{ACCENT}|{NATIONAL} 138 TEX» » {AA}|-|{PUNCT}|{ACCENT}|{NATIONAL}|{SPECIAL_CHAR}
138 DASHED_WORD {A}({AN}|-)* 139 DASHED_WORD {A}({AN}|-)*
139 DASHED_KEY_WORD \\{DASHED_WORD} 140 DASHED_KEY_WORD \\{DASHED_WORD}
140 141
141 142
142 143
143 ALPHAWORD {A}+ 144 ALPHAWORD {A}+
144 UNSIGNED {N}+ 145 UNSIGNED {N}+
145 E_UNSIGNED \\{N}+ 146 E_UNSIGNED \\{N}+
146 FRACTION {N}+\/{N}+ 147 FRACTION {N}+\/{N}+
147 INT -?{UNSIGNED} 148 INT -?{UNSIGNED}
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 { 1047 {
1047 (void) yy_start_stack_ptr; 1048 (void) yy_start_stack_ptr;
1048 (void) yy_start_stack_depth; 1049 (void) yy_start_stack_depth;
1049 (void) yy_start_stack; 1050 (void) yy_start_stack;
1050 (void) yy_push_state; 1051 (void) yy_push_state;
1051 (void) yy_pop_state; 1052 (void) yy_pop_state;
1052 (void) yy_top_state; 1053 (void) yy_top_state;
1053 (void) silence_lexer_warnings; 1054 (void) silence_lexer_warnings;
1054 } 1055 }
1055 #endif 1056 #endif
LEFTRIGHT

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