1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2025-04-21 12:27:27 +03:00

cameo: cleaned up and documented the tool compensation

- README, lang.l, lang.y: renamed the "tool" command to "offset"
- README: documented "offset"
- ops.h, ops.c (tool_comp_paths), cameo.c (main), lang.y: added
  parameter to tool_comp_paths to treat all paths as internal
- lang.l, lang.y: added option "inside" to the "offset" command
- lang.y: "offset" can now take multiple options in any order
This commit is contained in:
Werner Almesberger
2010-12-14 23:37:31 -03:00
parent 68d5eff7cd
commit 3ae3d6cdd3
6 changed files with 55 additions and 18 deletions

View File

@@ -43,7 +43,7 @@ NUM -?[0-9]+\.?[0-9]*
<INITIAL>array return TOK_ARRAY;
<INITIAL>clear return TOK_CLEAR;
<INITIAL>reset return TOK_RESET;
<INITIAL>tool return TOK_TOOL;
<INITIAL>offset return TOK_OFFSET;
<INITIAL>translate return TOK_TRANSLATE;
<INITIAL>z return TOK_Z;
@@ -55,6 +55,7 @@ NUM -?[0-9]+\.?[0-9]*
return TOK_WRITE; }
<INITIAL>dog return TOK_DOG;
<INITIAL>inside return TOK_INSIDE;
<INITIAL>mm metric = 1;
<INITIAL>mil metric = 0;