syntax error in i_curves.cdfg

If you're having trouble using Context Free or don't understand the language, ask for help here.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
drauh
Posts: 2
Joined: Wed Jan 03, 2007 3:58 am

syntax error in i_curves.cdfg

Post 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

drauh
Posts: 2
Joined: Wed Jan 03, 2007 3:58 am

Post by drauh »

d'oh. i figured it out. this version of context free doesn't seem to like periods "." in the rule names.

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Post by MtnViewJohn »

That would be a bug. Periods should be supported in rule names. I will post a fix, soonish.

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Post 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.

Post Reply