From 0925eb53b4c94cff4843b6ed6e1c955d3ba1e2a0 Mon Sep 17 00:00:00 2001 From: Donald Lam Date: Sun, 15 Jan 2023 16:19:18 -0800 Subject: Rename quoted_rfc4180 to quoted_rfc, to avoid parser quirk Ledger's expression parser considers quoted_rfc4180 to be an amount (quantity 4180 of commodity "quoted_rfc"). Fixes #2007. --- src/report.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/report.h') diff --git a/src/report.h b/src/report.h index 79be08ae..d264c777 100644 --- a/src/report.h +++ b/src/report.h @@ -182,7 +182,7 @@ public: value_t fn_abs(call_scope_t& scope); value_t fn_justify(call_scope_t& scope); value_t fn_quoted(call_scope_t& scope); - value_t fn_quoted_rfc4180(call_scope_t& scope); + value_t fn_quoted_rfc(call_scope_t& scope); value_t fn_join(call_scope_t& scope); value_t fn_format_date(call_scope_t& scope); value_t fn_format_datetime(call_scope_t& scope); -- cgit v1.2.3