We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents de7f873 + bb7c787 commit 26b655bCopy full SHA for 26b655b
regression/goto-instrument/show-symbol-table-json/test.desc
@@ -4,6 +4,7 @@ test.c
4
"symbolTable": \{
5
"main": \{
6
"main::1::x": \{
7
+"__CPROVER_architecture_NULL_is_zero": \{
8
^EXIT=0$
9
^SIGNAL=0$
10
--
src/util/config.cpp
@@ -1259,8 +1259,7 @@ void configt::set_from_symbol_table(
1259
else
1260
ansi_c.os=ansi_ct::string_to_os(id2string(string_from_ns(ns, "os")));
1261
1262
- // NULL_is_zero=from_ns("NULL_is_zero");
1263
- ansi_c.NULL_is_zero=true;
+ ansi_c.NULL_is_zero = unsigned_from_ns(ns, "NULL_is_zero") != 0;
1264
1265
// mode, preprocessor (and all preprocessor command line options),
1266
// lib, string_abstraction not stored in namespace
0 commit comments