We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6a0729 commit 5187a24Copy full SHA for 5187a24
src/solvers/smt2/smt2_parser.cpp
@@ -1223,19 +1223,8 @@ typet smt2_parsert::function_signature_declaration()
1223
mathematical_function_typet::domaint domain;
1224
1225
while(smt2_tokenizer.peek() != smt2_tokenizert::CLOSE)
1226
- {
1227
- if(next_token() != smt2_tokenizert::OPEN)
1228
- throw error("expected '(' at beginning of parameter");
1229
-
1230
- if(next_token() != smt2_tokenizert::SYMBOL)
1231
- throw error("expected symbol in parameter");
1232
1233
domain.push_back(sort());
1234
1235
- if(next_token() != smt2_tokenizert::CLOSE)
1236
- throw error("expected ')' at end of parameter");
1237
- }
1238
1239
next_token(); // eat the ')'
1240
1241
typet codomain = sort();
0 commit comments