summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/lex.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Src/lex.c b/Src/lex.c
index 3d70c5bbf..2988b41cb 100644
--- a/Src/lex.c
+++ b/Src/lex.c
@@ -885,6 +885,11 @@ gettok(void)
 		    return DINPAR;
 
 		case 0:
+		    /*
+		     * Not math, so we don't return the contents
+		     * as a string in this case.
+		     */
+		    tokstr = NULL;
 		    return INPAR;
 
 		default: