about summary refs log tree commit diff
path: root/Src/parse.c
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-01-22 12:03:55 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-01-22 12:03:55 +0000
commitbdaa4f4c051f76ea487419e3b3969072c60ae40c (patch)
tree251a3592023d7d0207fa7b3390a8eb6c68360385 /Src/parse.c
parentd36dbe2337708c367d53feb79075c0ab7b3dc921 (diff)
downloadzsh-bdaa4f4c051f76ea487419e3b3969072c60ae40c.tar.gz
zsh-bdaa4f4c051f76ea487419e3b3969072c60ae40c.tar.xz
zsh-bdaa4f4c051f76ea487419e3b3969072c60ae40c.zip
*** empty log message ***
Diffstat (limited to 'Src/parse.c')
-rw-r--r--Src/parse.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/Src/parse.c b/Src/parse.c
index 4d9a48370..330ebbfb5 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -83,9 +83,8 @@ struct heredocs *hdocs;
 /* 
  * Word code.
  *
- * For now we simply post-process the syntax tree produced by the
- * parser. We compile it into a struct eprog. Some day the parser
- * above should be changed to emit the word code directly.
+ * The parser now produces word code, reducing memory consumption compared
+ * to the nested structs we had before.
  *
  * Word code layout:
  *
@@ -157,7 +156,7 @@ struct heredocs *hdocs;
  *     - followed by body
  *
  *   WC_WHILE
- *     - data contains type (while, until) and ofsset to after body
+ *     - data contains type (while, until) and offset to after body
  *     - followed by condition
  *     - followed by body
  *