summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parser/parser.h4
-rw-r--r--src/parser/smt2/Smt2.g2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/parser/parser.h b/src/parser/parser.h
index 883f1f12b..91566f5f6 100644
--- a/src/parser/parser.h
+++ b/src/parser/parser.h
@@ -258,8 +258,8 @@ public:
bool strictModeEnabled() { return d_strictMode; }
- bool allowIncludeFile() { d_canIncludeFile = true; }
- bool disallowIncludeFile() { d_canIncludeFile = false; }
+ void allowIncludeFile() { d_canIncludeFile = true; }
+ void disallowIncludeFile() { d_canIncludeFile = false; }
bool canIncludeFile() const { return d_canIncludeFile; }
/**
diff --git a/src/parser/smt2/Smt2.g b/src/parser/smt2/Smt2.g
index 373f5b3a4..cb9a13c20 100644
--- a/src/parser/smt2/Smt2.g
+++ b/src/parser/smt2/Smt2.g
@@ -1483,7 +1483,7 @@ DECLARE_PREDS_TOK : 'declare-preds';
DEFINE_TOK : 'define';
DECLARE_CONST_TOK : 'declare-const';
SIMPLIFY_TOK : 'simplify';
-INCLUDE_TOK : 'include-file';
+INCLUDE_TOK : 'include';
// attributes
ATTRIBUTE_PATTERN_TOK : ':pattern';
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback