dotter

graphiz helpers
git clone git://deadbeef.fr/dotter.git
Log | Files | Refs | README | LICENSE

commit f67bc9acf77f8ba0c71d4b8d0148394415ba7b3c
parent 235cf8cb5eb588d5b213365e3eb21c4cd4d6d26a
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date:   Mon,  4 Sep 2023 18:58:04 +0200

uml: non-class now display the field number if limited

Diffstat:
Muml | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/uml b/uml @@ -169,7 +169,14 @@ $1 == "val" { } else { - printf( "%s%s", error, $2 ); + if ( fields_max != 0 ) + { + printf( "%s%d: %s", error, fields_cur, $2 ); + } + else + { + printf( "%s%s", error, $2 ); + } } printf( "\l" ); }