1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-23 04:23:55 +02:00

cameo: "array" did not affect subsequently loaded files

- lang.y: increment "xo" and "yo" also on "array"
This commit is contained in:
Werner Almesberger 2010-12-15 06:30:05 -03:00
parent b8f6545821
commit b76d17fea0
2 changed files with 3 additions and 0 deletions

View File

@ -18,5 +18,6 @@
struct path *gnuplot_read(const char *name, double r_tool_default); struct path *gnuplot_read(const char *name, double r_tool_default);
void gnuplot_write(const char *name, const struct path *paths); void gnuplot_write(const char *name, const struct path *paths);
void gnuplot_append(const char *name, const struct path *paths);
#endif /* !GNUPLOT_H */ #endif /* !GNUPLOT_H */

View File

@ -192,6 +192,8 @@ command:
double y = $3*$5; double y = $3*$5;
translate(x, y, 0); translate(x, y, 0);
xo += x;
yo += y;
} }
| TOK_CLEAR | TOK_CLEAR
{ {