aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <sokolyuk@gmail.com>2022-08-24 14:28:19 +0200
committerDimitri Sokolyuk <sokolyuk@gmail.com>2022-08-24 14:28:19 +0200
commitc4503a4b5307d82bba3f51852784d57f8f25b488 (patch)
tree53442e3053b502d2b84701f4e48e452925b1cffd
parente452a2ec377334144aa9204514b8ad4bd2c2254e (diff)
...
-rw-r--r--parser/parser_tracing.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser/parser_tracing.go b/parser/parser_tracing.go
index 937aee3..7f1f9e3 100644
--- a/parser/parser_tracing.go
+++ b/parser/parser_tracing.go
@@ -20,8 +20,8 @@ func tracePrint(fs string) {
fmt.Println(identLevel(), fs)
}
-func incIdent() { traceLevel = traceLevel + 1 }
-func decIdent() { traceLevel = traceLevel - 1 }
+func incIdent() { traceLevel++ }
+func decIdent() { traceLevel-- }
func trace(msg string) string {
incIdent()