aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/hush.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 6efc3073b..1e6df6284 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -3134,6 +3134,8 @@ static int reserved_word(o_string *word, struct parse_context *ctx)
3134} 3134}
3135#endif 3135#endif
3136 3136
3137//TODO: many, many callers don't check error from done_word()
3138
3137/* Word is complete, look at it and update parsing context. 3139/* Word is complete, look at it and update parsing context.
3138 * Normal return is 0. Syntax errors return 1. */ 3140 * Normal return is 0. Syntax errors return 1. */
3139static int done_word(o_string *word, struct parse_context *ctx) 3141static int done_word(o_string *word, struct parse_context *ctx)