summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-12-01 13:11:03 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-12-01 13:11:03 -0500
commit0298b6c4ca6e9434bf0df559ceee9b730002026a (patch)
treeb197ce5b64c465a04b6c25a9a6fe9960ed6535df
parent22f2ec9667e06ba68fdda5c57074486a98701725 (diff)
downloadroux-0298b6c4ca6e9434bf0df559ceee9b730002026a.tar.gz
oops, fix typo bug in parse.c
-rw-r--r--lisc/parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisc/parse.c b/lisc/parse.c
index e858365..ab5a643 100644
--- a/lisc/parse.c
+++ b/lisc/parse.c
@@ -208,6 +208,7 @@ lex()
 			tokval.num += c - '0';
 		}
 		ungetc(c, inf);
+		tokval.num *= sgn;
 		return TInt;
 	}
 	if (c == '"') {