]> git.mdlowis.com Git - proto/sclpl.git/commitdiff
Fixed invalid comment and deleted unused var
authorMichael D. Lowis <mike@mdlowis.com>
Thu, 1 May 2014 20:42:55 +0000 (16:42 -0400)
committerMichael D. Lowis <mike@mdlowis.com>
Thu, 1 May 2014 20:42:55 +0000 (16:42 -0400)
source/slvm/main.c

index f04a3e8970ee6f75f80c85915a13c3f1fcc0d55b..df31dc8ff219e2d7bd1102f82d26e31890c02ba3 100644 (file)
@@ -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);