shoenig/YALL — Issue #8: yasrt should warn in REPL mode
Author: shoenig
Created: 2012-02-01 17:28:47+00:00
State: open
Labels: easy

Currently function yasrt halts execution whether we have an error in REPL mode or FILE mode. It should just issue a warning if we are in REPL mode, so as to make the REPL a lot more friendly to use. We still want to halt the interpreter if we are executing a file though. To do this, we basically just need a global variable set in main.c that indicates which mode we are currently in, and then check that variable at assertion time.