Skip to content

Commit 9c266e1

Browse files
author
thk123
committed
Add a clean configuration for expr2c
This configuration can be used in place of expr2cleanc
1 parent da5db5c commit 9c266e1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/ansi-c/expr2c.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ expr2c_configurationt expr2c_configurationt::default_configuration{true,
3636
"TRUE",
3737
"FALSE"};
3838

39+
expr2c_configurationt expr2c_configurationt::clean_configuration{false,
40+
false,
41+
false,
42+
"1",
43+
"0"};
44+
3945
/*
4046
4147
Precedences are as follows. Higher values mean higher precedence.

src/ansi-c/expr2c.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ struct expr2c_configurationt final
3939
}
4040

4141
static expr2c_configurationt default_configuration;
42+
static expr2c_configurationt clean_configuration;
4243
};
4344

4445
std::string expr2c(const exprt &expr, const namespacet &ns);

0 commit comments

Comments
 (0)