diff options
author | Greg Hudson <ghudson@mit.edu> | 1997-09-14 18:12:16 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 1997-09-14 18:12:16 +0000 |
commit | ce6018836c422c86a729ba39fe5433ec11b87b02 (patch) | |
tree | cc2e6601489384fcf41e0565e8906822897b46c8 /zwgc/eval.c | |
parent | ac16f380e349fa39ec7e26bccb5456cb300006a5 (diff) |
Pull in sources from zephyr locker. See /mit/zephyr/repository for
detailed change information.
Diffstat (limited to 'zwgc/eval.c')
-rw-r--r-- | zwgc/eval.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/zwgc/eval.c b/zwgc/eval.c index 650838b..ab59a61 100644 --- a/zwgc/eval.c +++ b/zwgc/eval.c @@ -12,8 +12,10 @@ * "mit-copyright.h". */ +#include <sysdep.h> + #if (!defined(lint) && !defined(SABER)) -static char rcsid_eval_c[] = "$Id$"; +static const char rcsid_eval_c[] = "$Id$"; #endif #include <zephyr/mit-copyright.h> @@ -139,6 +141,7 @@ string eval_expr(expr) case SUBSTITUTE_OPCODE: case PROTECT_OPCODE: case VERBATIM_OPCODE: + case STYLESTRIP_OPCODE: case GETENV_OPCODE: case UPCASE_OPCODE: case DOWNCASE_OPCODE: @@ -162,6 +165,9 @@ string eval_expr(expr) case VERBATIM_OPCODE: return(verbatim(first,0)); + case STYLESTRIP_OPCODE: + return(stylestrip(first)); + case GETENV_OPCODE: result = getenv(first); if (!result) |