Page 1 of 1

Cannot mix replacements and...

Posted: Fri Mar 28, 2014 2:33 pm
by Hyronymous
I installed the Windows GUI version last night and starting going through the documentation to teach myself how to write the context-free grammar and draw.

While going throug the part on "Path declaration", I tried running the one example:

path iso {
ARCTO(0, 1, 0.5)
ARCTO(0, 0, 0.5)
CLOSEPOLY()
STROKE() [s 2 0.5]
STROKE(CF::IsoWidth) [s 2 0.5 y -0.75]
}

For both of the STROKE lines, the script fails to parse with an error message like "Cannot mix replacements and something something" (I'm at work, but I can post the exact message when I get home if that isn't enough to help.) I've tried running it here at work, using the Linux version, and the above parses and paints out fine.

Any thoughts?

Re: Cannot mix replacements and...

Posted: Fri Mar 28, 2014 9:25 pm
by MtnViewJohn
I can't reproduce this. Do you get the error message "Cannot mix path elements and replacements in the same container"?

Re: Cannot mix replacements and...

Posted: Sat Mar 29, 2014 1:22 am
by Hyronymous
Yep, that's the message. I'm running version 3.0.6 (v35) - 64-bit on a Windows 7 machine. Here's the full message:

Reading rules file
Restarting as a version 3 design
Error - Cannot mix path elements and replacements in the same container

But yeah, if you can't reproduce it, then maybe I'll try reinstalling or just running the CLI.

Re: Cannot mix replacements and...

Posted: Sun Mar 30, 2014 9:24 am
by MtnViewJohn
I fired up my 64-bit Win7 VM and still didn't see it. Does it happen if you try it in the CLI version?

Re: Cannot mix replacements and...

Posted: Sun Mar 30, 2014 9:38 am
by MtnViewJohn
Also, if you click on the error message it highlights the error in the editor. What line is highlighted?