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

Side by Side Diff: lily/lily-lexer.cc

Issue 475041: Context mods stored in variable, can be inserted into \with or \context (Closed)
Patch Set: Created 15 years 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:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 This file is part of LilyPond, the GNU music typesetter. 2 This file is part of LilyPond, the GNU music typesetter.
3 3
4 Copyright (C) 1997--2010 Han-Wen Nienhuys <hanwen@xs4all.nl> 4 Copyright (C) 1997--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
5 5
6 LilyPond is free software: you can redistribute it and/or modify 6 LilyPond is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or 8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version. 9 (at your option) any later version.
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 {"addlyrics", ADDLYRICS}, 42 {"addlyrics", ADDLYRICS},
43 {"alias", ALIAS}, 43 {"alias", ALIAS},
44 {"alternative", ALTERNATIVE}, 44 {"alternative", ALTERNATIVE},
45 {"book", BOOK}, 45 {"book", BOOK},
46 {"bookpart", BOOKPART}, 46 {"bookpart", BOOKPART},
47 {"change", CHANGE}, 47 {"change", CHANGE},
48 {"chordmode", CHORDMODE}, 48 {"chordmode", CHORDMODE},
49 {"chords", CHORDS}, 49 {"chords", CHORDS},
50 {"consists", CONSISTS}, 50 {"consists", CONSISTS},
51 {"context", CONTEXT}, 51 {"context", CONTEXT},
52 {"contextModifications", CONTEXT_MOD},
Neil Puttock 2010/03/13 23:24:24 contextmodifications (all the parser keywords are
Reinhold 2010/03/14 00:17:46 That keywords looks absolutely awkward. Maybe we s
52 {"default", DEFAULT}, 53 {"default", DEFAULT},
53 {"defaultchild", DEFAULTCHILD}, 54 {"defaultchild", DEFAULTCHILD},
54 {"denies", DENIES}, 55 {"denies", DENIES},
55 {"description", DESCRIPTION}, 56 {"description", DESCRIPTION},
56 {"drummode", DRUMMODE}, 57 {"drummode", DRUMMODE},
57 {"drums", DRUMS}, 58 {"drums", DRUMS},
58 {"figuremode", FIGUREMODE}, 59 {"figuremode", FIGUREMODE},
59 {"figures", FIGURES}, 60 {"figures", FIGURES},
60 {"grobdescriptions", GROBDESCRIPTIONS}, 61 {"grobdescriptions", GROBDESCRIPTIONS},
61 {"header", HEADER}, 62 {"header", HEADER},
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 int 387 int
387 Lily_lexer::print_smob (SCM s, SCM port, scm_print_state*) 388 Lily_lexer::print_smob (SCM s, SCM port, scm_print_state*)
388 { 389 {
389 Lily_lexer *lexer = Lily_lexer::unsmob (s); 390 Lily_lexer *lexer = Lily_lexer::unsmob (s);
390 391
391 scm_puts ("#<Lily_lexer ", port); 392 scm_puts ("#<Lily_lexer ", port);
392 scm_display (lexer->scopes_, port); 393 scm_display (lexer->scopes_, port);
393 scm_puts (" >", port); 394 scm_puts (" >", port);
394 return 1; 395 return 1;
395 } 396 }
OLDNEW

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