summaryrefslogtreecommitdiff
path: root/src/parser/cvc
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-02-18 23:24:26 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-02-18 23:24:26 +0000
commit9f8f4ae9ef9d9d79973b77b6c61af4c5db034841 (patch)
treec9f2159ab870534a2cd0d887944c84d00da9b2a4 /src/parser/cvc
parenta377bee55e41ba9ceef3380742e536545299181c (diff)
Adding --no-checking option to disable semantic checks in parser
Diffstat (limited to 'src/parser/cvc')
-rw-r--r--src/parser/cvc/cvc_parser.g4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/cvc/cvc_parser.g b/src/parser/cvc/cvc_parser.g
index e953244df..0cdf9f36b 100644
--- a/src/parser/cvc/cvc_parser.g
+++ b/src/parser/cvc/cvc_parser.g
@@ -154,7 +154,7 @@ identifier[DeclarationCheck check = CHECK_NONE,
returns [std::string id]
: x:IDENTIFIER
{ id = x->getText();
- AlwaysAssert( checkDeclaration(id, check, type) ); }
+ checkDeclaration(id, check, type); }
;
/**
@@ -381,6 +381,6 @@ functionSymbol[DeclarationCheck check = CHECK_NONE] returns [CVC4::Expr f]
std::string name;
}
: name = identifier[check,SYM_FUNCTION]
- { AlwaysAssert( checkFunction(name) );
+ { checkFunction(name);
f = getFunction(name); }
;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback