deepin-kernel/tools/verification
Gabriele Monaco 8140fa1480 verification/dot2: Improve dot parser robustness
[ Upstream commit 571f8b3f86 ]

This patch makes the dot parser used by dot2c and dot2k slightly more
robust, namely:
* allows parsing files with the gv extension (GraphViz)
* correctly parses edges with any indentation
    * used to work only with a single character (e.g. '\t')
Additionally it fixes a couple of warnings reported by pylint such as
wrong indentation and comparison to False instead of `not ...`

Link: https://lore.kernel.org/20241017064238.41394-2-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-16 00:22:41 +08:00
..
dot2 verification/dot2: Improve dot parser robustness 2024-12-16 00:22:41 +08:00
models rv/monitor: Add the wwnr monitor 2022-07-30 14:01:30 -04:00
rv tools/rv: Fix Makefile compiler options for clang 2024-02-23 09:25:14 +01:00