]> gcc.gnu.org Git - gcc.git/commit
ada: Fix parsing bug in GNAT.Formatted_String
authorRonan Desplanques <desplanques@adacore.com>
Fri, 9 Dec 2022 10:29:02 +0000 (11:29 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 3 Jan 2023 09:29:54 +0000 (10:29 +0100)
commit7bad99da3d2a1511407136863918dabc009a7bbf
tree71d86769dda4e2505ff9c55a6327d99daf13d38f
parentde77a81b2c974520183e6c2f205be54844f3d42e
ada: Fix parsing bug in GNAT.Formatted_String

Before this patch, GNAT.Formatted_String.Formatted_String failed to
handle format strings with two or more specifiers whose widths were
specified with the "*" syntax. This patch makes the parser
correctly reset its bits of state related to width and precision
parsing when needed.

gcc/ada/

* libgnat/g-forstr.adb (P_Int_Format): Fix parsing bug.
gcc/ada/libgnat/g-forstr.adb
This page took 0.074987 seconds and 6 git commands to generate.