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

Unified Diff: lily/lexer.ll

Issue 4553056: New alist to replace special characters. (Closed)
Patch Set: Partially reverting one of Neil's changes. Created 12 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « input/regression/markup-special-characters.ly ('k') | lily/text-interface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/lexer.ll
diff --git a/lily/lexer.ll b/lily/lexer.ll
index db78e049f2597b09a0e772aa1f41e9e620aa12c3..4bccf131a82c25dbfd361f2ca0b88ba4eea66215 100644
--- a/lily/lexer.ll
+++ b/lily/lexer.ll
@@ -133,8 +133,9 @@ AN {AA}|{N}
ANY_CHAR (.|\n)
PUNCT [?!:'`]
ACCENT \\[`'"^]
+SPECIAL_CHAR [&@]
NATIONAL [\001-\006\021-\027\031\036]
-TEX {AA}|-|{PUNCT}|{ACCENT}|{NATIONAL}
+TEX {AA}|-|{PUNCT}|{ACCENT}|{NATIONAL}|{SPECIAL_CHAR}
DASHED_WORD {A}({AN}|-)*
DASHED_KEY_WORD \\{DASHED_WORD}
« no previous file with comments | « input/regression/markup-special-characters.ly ('k') | lily/text-interface.cc » ('j') | no next file with comments »

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