]> git.pond.sub.org Git - empserver/blobdiff - src/lib/gen/parse.c
Document, in particular use of UTF-8. Simplify code in a couple of
[empserver] / src / lib / gen / parse.c
index d9551613d0a95a2722bcddc630dc5541fb6b54e1..b29cd4797661144fc639b956d056dbe33d1dd318 100644 (file)
@@ -37,7 +37,7 @@
 
 /*
  * Parse user command in BUF.
- * BUF is user text.
+ * BUF is UTF-8.
  * Set ARG[0] to point to the command name.
  * Set ARG[1..N] to point to arguments, where N is the number of
  * arguments.  Set ARG[N+1..127] to NULL.
@@ -45,9 +45,8 @@
  * set *CONDP to the conditional argument if present, else NULL.
  * Command name and arguments are copied into SPACE[], whose size must
  * be at least strlen(BUF) + 1.
- * If *REDIR is not null, recognize the redirection syntax, and set
- * *REDIR to redirection string if present, else NULL.  The
- * redirection string is user text.
+ * If *REDIR is not null, recognize redirection syntax, and set *REDIR
+ * to UTF-8 redirection string if present, else NULL.
  * Return number of slots used in ARG[], or -1 on error.
  */
 int