[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lilypond-auto] Issue 3554 in lilypond: Patch: Avoid empty grammar r
From: |
lilypond |
Subject: |
Re: [Lilypond-auto] Issue 3554 in lilypond: Patch: Avoid empty grammar rules using @$ for getting a source location |
Date: |
Sun, 15 Sep 2013 12:48:02 +0000 |
Updates:
Status: Fixed
Labels: -Patch-review Fixed_2_17_27
Comment #4 on issue 3554 by address@hidden: Patch: Avoid empty grammar rules
using @$ for getting a source location
http://code.google.com/p/lilypond/issues/detail?id=3554
Pushed to staging as
commit 6b79234fbfe9400cac355a7b3d7da90532d82522
Author: David Kastrup <address@hidden>
Date: Sun Sep 15 11:01:06 2013 +0200
Issue 3554: Avoid empty grammar rules using @$ for getting a source
location
Several rules use @$ for getting the source position from an empty
rule, but Bison does not even provide a source position for empty
rules.
This patch fixes most cases by letting different non-empty rules
assign the respective source positions. The case of #{ #} cannot be
fixed in that manner since there is not a single token providing a
source position in the whole production. Fixing this particular case
would require a different technique.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings