Page 1 of 1

syntax error in i_curves.cdfg

Posted: Tue Jul 10, 2007 12:27 am
by drauh
line 6 of the included example, i_curves.cdfg gives a "Parse error - syntax error". the line is:

Code: Select all

rule curveright_0.9_5 {
so, the funky_flower.cdfg doesn't render, either.

this is 2.1 (v17) on Mac OS X.3.9

cheers,
dave

Posted: Tue Jul 10, 2007 12:31 am
by drauh
d'oh. i figured it out. this version of context free doesn't seem to like periods "." in the rule names.

Posted: Tue Jul 10, 2007 10:26 pm
by MtnViewJohn
That would be a bug. Periods should be supported in rule names. I will post a fix, soonish.

Posted: Wed Sep 19, 2007 10:30 pm
by MtnViewJohn
Actually, given the other changes that are pending in Context Free, it makes sense to disallow periods in rule names. So, the fix will be to change the rule names in i_curves.cfdg and funky_flower.cfdg.