Commit 5d2e7c5
committed
Process a subprogram's parameters before processing its body
PR 220 introduced a regression. It entered subprogram parameters into
the symbol table before processing their declaration causing the
processing of a subprogram specification to fail.
This could happen if a subprogram body was declared without a
separate declaration (perfectly legal to do this in Ada).
This change removes the code from PR 220 and ensures a
subprogram specification is processed before its body.1 parent ff9b6b3 commit 5d2e7c5
1 file changed
+1
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1192 | 1192 | | |
1193 | 1193 | | |
1194 | 1194 | | |
1195 | | - | |
1196 | 1195 | | |
1197 | 1196 | | |
1198 | 1197 | | |
| |||
1207 | 1206 | | |
1208 | 1207 | | |
1209 | 1208 | | |
1210 | | - | |
1211 | | - | |
1212 | | - | |
1213 | | - | |
1214 | | - | |
1215 | | - | |
1216 | | - | |
1217 | 1209 | | |
1218 | 1210 | | |
1219 | 1211 | | |
| |||
4118 | 4110 | | |
4119 | 4111 | | |
4120 | 4112 | | |
4121 | | - | |
4122 | 4113 | | |
4123 | | - | |
4124 | 4114 | | |
4125 | 4115 | | |
4126 | 4116 | | |
| |||
4140 | 4130 | | |
4141 | 4131 | | |
4142 | 4132 | | |
4143 | | - | |
| 4133 | + | |
4144 | 4134 | | |
4145 | 4135 | | |
4146 | 4136 | | |
| |||
0 commit comments