On Mon, 14 May 2012 03:32:11 -0700, <[email protected]> wrote:

http://codereview.appspot.com/6200068/diff/2001/lily/lexer.ll#newcode487
lily/lexer.ll:487: {FRACTION}   {
On 2012/05/13 02:43:23, Keith wrote:
Stupid question, but I can't figure it out.  Can we remove this
pattern from the
rules for individual starting states, now that it is matched globally
?


So the answer to this question is: no.  Maybe it has to do with the
starting state specific UNSIGNED rules firing with priority then.  I'll
try moving the FRACTION rule up, but am skeptical that this will work
out better, so just let's keep the unchanged countdown on.

http://codereview.appspot.com/6200068/


Oops.  All the start conditions are declared exclusive, so global rules
only match when we are in start condition 'INITIAL'.  <*> rules would
match in comments, which is not wanted, so no combining of rules until
the start conditions that don't need to be exclusive are made inclusive.



_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to