]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Remove duplicated code in parser for Chapter 4
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 7 Mar 2025 16:37:58 +0000 (17:37 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 9 Jun 2025 06:32:11 +0000 (08:32 +0200)
commit5ed1891054f13015719ed7a0d5e1ca799422ae74
tree208d7258422becc9137fe3b35eb180934dee035b
parentbb9cd860cb1ff3d497e37764ffa035b4e4e2165d
ada: Remove duplicated code in parser for Chapter 4

P_Qualified_Simple_Name and P_Qualified_Simple_Name_Resync contain exactly
the same code, so this change makes the former call the latter.

gcc/ada/ChangeLog:

* par-ch4.adb (P_Name): Remove obsolete references in comments.
(P_Qualified_Simple_Name): Call P_Qualified_Simple_Name_Resync.
(P_Qualified_Simple_Name_Resync): Adjust a couple of comments.
gcc/ada/par-ch4.adb