summaryrefslogtreecommitdiff
path: root/zwgc/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'zwgc/eval.c')
-rw-r--r--zwgc/eval.c8
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)