From a7eb9033f29d35d110afd1730a238f5c50e00369 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Sun, 22 Dec 2013 20:38:22 +0100 Subject: [PATCH] Issue 3748: Allow assignments with property paths to use x.y.z = value syntax This is actually an embarrassing oversight in issue 2883: while it became possible to rewrite markup-system-spacing #'minimum-distance = #25 as markup-system-spacing minimum-distance = #25 it has been overlooked to allow for the obvious markup-system-spacing.minimum-distance = #25 --- lily/parser.yy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lily/parser.yy b/lily/parser.yy index 65ed8e3fb8..e4355a50fb 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -624,6 +624,11 @@ assignment: parser->lexer_->set_identifier (path, $4); $$ = SCM_UNSPECIFIED; } + | assignment_id '.' property_path '=' identifier_init { + SCM path = scm_cons (scm_string_to_symbol ($1), $3); + parser->lexer_->set_identifier (path, $5); + $$ = SCM_UNSPECIFIED; + } ; -- 2.39.5