summaryrefslogtreecommitdiffstats
path: root/bin/sh/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/parser.h')
-rw-r--r--bin/sh/parser.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/sh/parser.h b/bin/sh/parser.h
index b803f76..d500d2f 100644
--- a/bin/sh/parser.h
+++ b/bin/sh/parser.h
@@ -68,11 +68,9 @@
/*
* NEOF is returned by parsecmd when it encounters an end of file. It
- * must be distinct from NULL, so we use the address of a variable that
- * happens to be handy.
+ * must be distinct from NULL.
*/
-extern int tokpushback;
-#define NEOF ((union node *)&tokpushback)
+#define NEOF ((union node *)-1)
extern int whichprompt; /* 1 == PS1, 2 == PS2 */
extern const char *const parsekwd[];
OpenPOWER on IntegriCloud