Fully quote guards used by neverclaims.
Especially with should write !(p0) and not !p0, because p0 is usually #define'd by the user and he may have forgotten to quote the value of the macro. This issue was discovered by Kristin Yvonne Rozier and diagnosed by Gerard Holzmann. * src/tgbaalgos/neverclaim.cc (process_link): Call to_spin_string(..., true) to fully parentheses the string. * src/tgbatest/neverclaimread.test: Add a test.
This commit is contained in:
parent
2b5956c2d4
commit
ea6a1ffc22
4 changed files with 19 additions and 1 deletions
13
ChangeLog
13
ChangeLog
|
|
@ -1,3 +1,16 @@
|
|||
2011-11-16 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
Fully quote guards used by neverclaims.
|
||||
|
||||
Especially with should write !(p0) and not !p0, because p0 is
|
||||
usually #define'd by the user and he may have forgotten to quote
|
||||
the value of the macro. This issue was discovered by Kristin
|
||||
Yvonne Rozier and diagnosed by Gerard Holzmann.
|
||||
|
||||
* src/tgbaalgos/neverclaim.cc (process_link): Call
|
||||
to_spin_string(..., true) to fully parentheses the string.
|
||||
* src/tgbatest/neverclaimread.test: Add a test.
|
||||
|
||||
2011-11-11 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
Fix a g++-4.7 warning about a variable used only in an assert().
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue