summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-01-18 22:25:11 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-01-18 22:25:11 +0400
commit8d0fc4dd5f70bc829f4f73b70246c02bc3f8168c (patch)
tree5b4bb24ec91c0ea6acb734dfa57368fcb56d77ba
parent80c2e312ba6d2c3bd093fb425bd7bcc8daf1b49a (diff)
removed useless format strings in include-depth error
-rw-r--r--src/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.go b/src/main.go
index cfe0695..1765971 100644
--- a/src/main.go
+++ b/src/main.go
@@ -126,7 +126,7 @@ func preprocess(rawTokens[] Token) []Token {
os.Exit(1)
}
if incDepth == incDepthLim {
- fmt.Fprintf(os.Stderr, "%s: error: include depth exceeds 200: %s: %d:%d.\n",
+ fmt.Fprintf(os.Stderr, "%s: error: include depth exceeds 200: %s.\n",
progname, rawTokens[i].file)
os.Exit(1)
}