commit 46752c5cc38b5e17f76e9427a7291cd86970d588 parent 55ce930fb60d458c836255e00921da64d5f4a80b Author: hhvn <dev@hhvn.uk> Date: Sat, 21 May 2022 10:21:22 +0100 Fix error message for %{split} Diffstat:
M | src/format.y | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/format.y b/src/format.y @@ -201,7 +201,7 @@ style: STYLE LBRACE STRING RBRACE { } else if (strisnum($5, 0)) { $$ = parse_dup(""); } else { - yyerror("second argument to %{pad:...} must be an integer"); + yyerror("first argument to %{split:...} must be an integer"); YYERROR; } } else {