commit 50a073b6dcba3862c463b4c6ac86e4daf64a99e6 parent bf9700259f0c9603809e973f3fdaf564afe9144a Author: Morel BĂ©renger <berengermorel76@gmail.com> Date: Mon, 4 Sep 2023 14:11:47 +0200 uml: private, protected or public can be indented Diffstat:
M | uml | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/uml b/uml @@ -71,9 +71,9 @@ BEGIN { inside = ""; } -$0 == "private" { scope = "[-]"; } -$0 == "protected" { scope = "[#]"; } -$0 == "public" { scope = "[+]"; } +$0 ~ "^[ \t]*private" { scope = "[-]"; } +$0 ~ "^[ \t]*protected" { scope = "[#]"; } +$0 ~ "^[ \t]*public" { scope = "[+]"; } $0 == "package" { scope = "[~]"; } $1 == "splines" {