linux/tools/verification/rvgen
Gabriele Monaco df996599cc verification/rvgen: Fix ltl2k writing True as a literal
The rvgen parser for LTL stores literal true values in the python
representation (capitalised True), this doesn't build in C.
The Literal class should already handle this case but ASTNode skips its
strigification method and converts the value (true/false) directly.

Fix by delegating ASTNode stringification to the Literal and Variable
classes instead of bypassing them.

Fixes: 97ffa4ce6a ("verification/rvgen: Add support for linear temporal logic")
Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20260514152055.229162-8-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
2026-06-04 16:44:25 +02:00
..
rvgen verification/rvgen: Fix ltl2k writing True as a literal 2026-06-04 16:44:25 +02:00
__main__.py verification/rvgen: Fix options shared among commands 2026-06-04 16:44:25 +02:00
.gitignore verification/rvgen: Add support for linear temporal logic 2025-07-24 10:42:47 -04:00
dot2c rv/rvgen: remove unused sys import from dot2c 2026-04-01 10:16:19 +02:00
Makefile verification/rvgen: Add support for linear temporal logic 2025-07-24 10:42:47 -04:00