- Improved some type of warnings for e.g. empty prec sets andsoforth.

This commit is contained in:
ccremers
2005-12-28 14:25:06 +00:00
parent 72162e82c6
commit bceaca28f0
3 changed files with 37 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
#include <stdlib.h>
#include <stdio.h>
#include "term.h"
#include "termlist.h"
#include "compiler.h"
/*
@@ -28,6 +29,8 @@ Term CLAIM_Niagree;
Term CLAIM_Empty;
Term CLAIM_Reachable;
Termlist CLAIMS_dep_prec;
//! Init special terms
/**
* This is called by compilerInit
@@ -52,4 +55,10 @@ specialTermInit (const System sys)
langcons (CLAIM_Niagree, "Niagree", TERM_Claim);
langcons (CLAIM_Empty, "Empty", TERM_Claim);
langcons (CLAIM_Reachable, "Reachable", TERM_Claim);
/* Construct a list of claims that depend on prec being not-empty */
/* basically all authentication claims */
CLAIMS_dep_prec = termlistAdd (NULL, CLAIM_Niagree);
CLAIMS_dep_prec = termlistAdd (CLAIMS_dep_prec, CLAIM_Nisynch);
}