From: Michael D. Lowis Date: Thu, 1 May 2014 20:42:55 +0000 (-0400) Subject: Fixed invalid comment and deleted unused var X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=73c0f9a8726e5a0d1630265ea80ab6dfbb3ae8a7;p=proto%2Fsclpl.git Fixed invalid comment and deleted unused var --- diff --git a/source/slvm/main.c b/source/slvm/main.c index f04a3e8..df31dc8 100644 --- a/source/slvm/main.c +++ b/source/slvm/main.c @@ -29,7 +29,7 @@ * Add support for multi-tasking with multiple cores/threads */ -/* Built-in Constants +/* System State *****************************************************************************/ /** The argument stack */ val_t ArgStack[ARG_STACK_SIZE]; @@ -40,9 +40,6 @@ val_t* ArgStackPtr = ArgStack-1; /** Pointer to current instruction being executed */ val_t* CodePtr = 0; -/** A state variable used to flag when the interpreter reads a line of input */ -val_t Line_Read = 0; - /* Inner Interpreter *****************************************************************************/ void docolon(val_t* code) { @@ -352,7 +349,6 @@ defcode("interp", interp, 0, &_parse){ defcode("quit", quit, 0, &interp){ int i; printf("=> "); - Line_Read = 0; while(1) { EXEC(interp);