PROGNAME=bin/stp
ALL_OPTIONS= -l $(REGRESS_LEVEL) $(PROGNAME) $(REGRESS_TESTS)
-.PHONY: regressall
-regressall:
+.PHONY: regresscvc
+regresscvc:
@echo "*********************************************************" \
| tee -a $(REGRESS_LOG)
@echo "Starting tests at" `date` | tee -a $(REGRESS_LOG)
| tee -a $(BIGARRAY_LOG)
SMT_LOG = `date +%Y-%m-%d`"-regress-smt.log"
-.PHONY: regress_smt
-regress_smt:
+.PHONY: regresssmt
+regresssmt:
@echo "*********************************************************" \
| tee -a $(SMT_LOG)
@echo "Starting tests at" `date` | tee -a $(SMT_LOG)
| tee -a $(SMT_LOG)
CAPI_LOG = `date +%Y-%m-%d`"-regress-c-api.log"
-.PHONY: regress_c_api
-regress_c_api:
+.PHONY: regresscapi
+regresscapi:
@echo "*********************************************************" \
| tee -a $(CAPI_LOG)
@echo "Starting tests at" `date` | tee -a $(CAPI_LOG)
Assumes you have downloaded the testcases
make regresscvc
-make regress_smt
-make regress_c_api
+make regresssmt
+make regresscapi
make regressbigarray
\ No newline at end of file
ALL_OPTIONS= -l $(REGRESS_LEVEL) $(PROGNAME) $(REGRESS_TESTS)
.PHONY: regresscvc
-regressall:
+regresscvc:
@echo "*********************************************************" \
| tee -a $(REGRESS_LOG)
@echo "Starting tests at" `date` | tee -a $(REGRESS_LOG)
| tee -a $(BIGARRAY_LOG)
SMT_LOG = `date +%Y-%m-%d`"-regress-smt.log"
-.PHONY: regress_smt
-regress_smt:
+.PHONY: regresssmt
+regresssmt:
@echo "*********************************************************" \
| tee -a $(SMT_LOG)
@echo "Starting tests at" `date` | tee -a $(SMT_LOG)
| tee -a $(SMT_LOG)
CAPI_LOG = `date +%Y-%m-%d`"-regress-c-api.log"
-.PHONY: regress_c_api
-regress_c_api:
+.PHONY: regresscapi
+regresscapi:
@echo "*********************************************************" \
| tee -a $(CAPI_LOG)
@echo "Starting tests at" `date` | tee -a $(CAPI_LOG)
// compile error)
#undef __GNUC_MINOR__
+#define YYLTYPE_IS_TRIVIAL 1
+#define YYMAXDEPTH 10485760
+#define YYERROR_VERBOSE 1
+#define YY_EXIT_FAILURE -1
+#define YYPARSE_PARAM AssertsQuery
+
extern int cvclex(void);
extern char* yytext;
int yyerror(const char *s) {
cout << "syntax error: line " << cvclineno << "\n" << s << endl;
FatalError("");
- return 1; /* Dill: don't know what it should return */
+ return YY_EXIT_FAILURE; /* Dill: don't know what it should return */
};
-
-#define YYLTYPE_IS_TRIVIAL 1
-#define YYMAXDEPTH 10485760
-#define YYERROR_VERBOSE 1
-#define YY_EXIT_FAILURE -1
-#define YYPARSE_PARAM AssertsQuery
%}
%union {
//
//increment value (BVCONST)
//
- //formula (it can be a nested forloop)
- _parser_symbol_table.insert(*$3);
+ //formula (it can be a nested forloop)
$3->SetIndexWidth($5.indexwidth);
$3->SetValueWidth($5.valuewidth);
+ _parser_symbol_table.insert(*$3);
ASTVec vec;
vec.push_back(*$3);
ASTNodeMap::iterator it;
if(((it = _letid_expr_map->find(var)) != _letid_expr_map->end()) &&
it->second != ASTUndefined) {
- FatalError("LetExprMgr:The LET-var v has already been defined in this LET scope: v =", var);
+ FatalError("LetExprMgr:The LET-var v has already been defined"\
+ "in this LET scope: v =", var);
}
if(_parser_symbol_table.find(var) != _parser_symbol_table.end()) {
- FatalError("LetExprMgr:This var is already declared. cannot redeclare as a letvar: v =", var);
+ FatalError("LetExprMgr:This var is already declared. "\
+ "cannot redeclare as a letvar: v =", var);
}
(*_letid_expr_map)[var] = letExpr;