X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fparser.yy;h=d9812b1b9f1c983853e56c655201b2b40d2e16d3;hb=ef31f0442c7be02c90b9e6b2b9e9809def42ae37;hp=f81dc69e9b56faa2e82b4052f86448b492c1a347;hpb=d2199b0163c33bcb7504c87e57eefbea93e08c88;p=lilypond.git diff --git a/lily/parser.yy b/lily/parser.yy index f81dc69e9b..d9812b1b9f 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -672,7 +672,13 @@ header_block: */ assignment_id: STRING + { + $$ = scm_string_to_symbol ($1); + } | SYMBOL + { + $$ = scm_string_to_symbol ($1); + } ; assignment: @@ -681,12 +687,12 @@ assignment: $$ = SCM_UNSPECIFIED; } | assignment_id '.' property_path '=' identifier_init { - SCM path = scm_cons (scm_string_to_symbol ($1), $3); + SCM path = scm_cons ($1, $3); parser->lexer_->set_identifier (path, $5); $$ = SCM_UNSPECIFIED; } | assignment_id ',' property_path '=' identifier_init { - SCM path = scm_cons (scm_string_to_symbol ($1), $3); + SCM path = scm_cons ($1, $3); parser->lexer_->set_identifier (path, $5); $$ = SCM_UNSPECIFIED; }