fix style_check to be called at parse-time and not cause eexcution overheads.

This commit is contained in:
Vítor Santos Costa
2014-04-24 08:26:31 +01:00
parent 6591b5429c
commit d8f4a77f47
13 changed files with 200 additions and 138 deletions

View File

@@ -269,7 +269,7 @@ getUnknownModule(module_t m);
#define SEMSINGLETON_CHECK 0x0040 /* Semantic singleton checking */
#define NOEFFECT_CHECK 0x0080 /* Check for meaningless statements */
#define VARBRANCH_CHECK 0x0100 /* warn on unbalanced variables */
#define MULTIPLE_CHECK 0x0100 /* warn on multiple file definitions for a predicate */
#define MULTIPLE_CHECK 0x0200 /* warn on multiple file definitions for a predicate */
#define MAXNEWLINES 5 /* maximum # of newlines in atom */
#define debugstatus (LD->_debugstatus)