Ömer Sinan Ağacan ce4e668e39 format macro argument parsing fix
When the character next to `{}` is "shifted" (when mapping a byte index
in the format string to span) we should avoid shifting the span end
index, so first map the index of `}` to span, then bump the span,
instead of first mapping the next byte index to a span (which causes
bumping the end span too much).

Regression test added.

Fixes #83344
2021-03-27 13:06:36 +03:00
..
2021-01-07 18:54:12 -03:00
2020-06-10 01:35:47 +00:00
2019-11-07 17:11:06 +01:00
2020-02-23 22:36:15 -08:00
2020-01-31 20:21:10 +01:00
2020-04-20 15:47:08 -04:00
2020-01-26 07:01:16 +09:00
2020-04-23 16:30:06 -07:00
2020-04-26 18:00:51 +03:00
2019-12-31 09:22:35 -08:00
2020-07-10 07:39:28 -04:00
2020-01-26 07:01:16 +09:00
2019-01-08 21:46:39 +01:00
2019-12-18 18:59:43 +02:00
2020-03-20 22:52:53 +00:00
2020-04-08 08:37:20 -07:00
2020-03-04 00:56:43 +01:00
2020-03-04 00:56:43 +01:00
2019-11-10 15:52:59 +02:00
2020-01-07 18:38:12 +09:00
2020-04-02 18:31:31 -07:00
2021-03-03 11:23:29 +01:00
2019-08-14 19:34:50 +02:00
2020-03-29 22:22:36 +02:00
2021-03-16 00:12:38 +03:00
2020-03-10 18:00:37 -04:00
2020-03-10 18:00:37 -04:00
2019-05-08 09:24:24 +02:00