fixes
[henge/apc.git] / src / scanner.c
index 0baac82..686e1fe 100644 (file)
@@ -45,7 +45,7 @@ int scanner_init
     scanner_quit();
   apc_pstate = yypstate_new();
   apc_cstate = yycstate_new();
-  return (apc_pstate != NULL && apc_cstate != NULL);
+  return (apc_pstate == NULL || apc_cstate == NULL);
 }
 
 /* Quit