From 6ef614e9be90df468c6f6c3329157f964fc7d28e Mon Sep 17 00:00:00 2001 From: trevor_hansen Date: Mon, 14 Jun 2010 12:34:52 +0000 Subject: [PATCH] Bugfix. Enable the same options for when the parser is automatically detected based on filename, and when the parser is explicitly specified. git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@845 e59a4935-1847-0410-ae03-e826735625c1 --- src/main/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/main.cpp b/src/main/main.cpp index c6a4c44..f1d7a35 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -370,10 +370,12 @@ helpstring += string f(infile); if (!f.compare(f.length()-4, 4,".smt")) { + bm->UserFlags.division_by_zero_returns_one_flag = true; bm->UserFlags.smtlib1_parser_flag = true; } if (!f.compare(f.length()-5, 5,".smt2")) { + bm->UserFlags.division_by_zero_returns_one_flag = true; bm->UserFlags.smtlib2_parser_flag = true; } } -- 2.47.3