fengzhang2011 / tikzedt

Automatically exported from code.google.com/p/tikzedt
0 stars 0 forks source link

Empty \scope causes parser exception #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
An empty \scope command (or filled with commands not understood by parser 
causes:
"Couldn't parse code. Antlr.Runtime.Tree.RewriteEmptyStreamException:rule 
tikzbody"

What steps will reproduce the problem?

\begin{tikzpicture}
\node at (-4,3) {?};
\begin{scope}[thick,fill opacity=0.5, shift={(0,1)}]
\filldraw[fill=red] (0:1cm) circle (12mm);
\filldraw[fill=green] (120:1cm) circle (12mm);
\filldraw[fill=blue] (-120:1cm) circle (12mm);
\end{scope}
\node at (4,3) {?};
\end{tikzpicture}

Note: \filldraw not understood by parser.

Original issue reported on code.google.com by notdiffi...@gmx.net on 3 Mar 2011 at 8:02

GoogleCodeExporter commented 9 years ago
It was a small error in the parser. It should be gone now.

Original comment by t.willwa...@gmail.com on 19 Mar 2011 at 3:07