summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-11-02 09:09:29 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-11-02 09:09:29 -0400
commitcdbd46762b944ccc310315e11d865c2ea7cac922 (patch)
treedcd94f778505b4795c0b25dcd541005615c795ad /parser.c
parent2ee3c13800b11a609229df8f16c7028f52340571 (diff)
Add a flag to signal completion of startup. To be expanded.
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/parser.c b/parser.c
index 081d6c6..800909c 100644
--- a/parser.c
+++ b/parser.c
@@ -783,6 +783,10 @@ void Parser_main (char *raw_in, int interactive_terminal, void(*cbfunc)(gpointer
units_found = Parser_get_unit(&parameter,&units);
+ if (!globals.Flags.startup_complete) {
+ error_num=Startup_Not_Finished;
+ }
+
if (!error_num) {
command_type=(is_query<<2) | (parameter_found?2:0) | units_found;