diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-25 01:03:26 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2018-03-26 13:03:19 +0000 |
commit | bb22df3db915f2141ce3c2477e7417781c5961f4 (patch) | |
tree | 8911726a0806152a32ace3c352e595fcd9d8615e /doc | |
parent | 46145e80ec64f4941469debb8310be37fba69ded (diff) |
contrib/fsm-to-dot: don't match on event names in comments
Strip comments from function bodies before matching on event names.
In osmo-bsc's gscon FSM, there often are event names in comments. The naive
parsing of fsm-to-dot.py mistakes these as events causing state transitions,
but the comments are just explaining how states interact.
Makes me reconsider parsing the C with clang instead, but I got away with a
dirty hack once more.
Change-Id: I56d70ae14d363f7ca655dced16d93d795b3f940d
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions