Commit 4ac3370
committed
a68: avoid pack_soids_in_moid to return unregistered modes
This function fixes the pack_soids_in_moid function so it never
returns a mode that has not been registered.
Signed-off-by: Jose E. Marchesi <[email protected]>
gcc/algol68/ChangeLog
* a68-moids-misc.cc (a68_pack_soids_in_moid): Return the result of
a68_register_extra_mode.
gcc/testsuite/ChangeLog
* algol68/execute/pack-soids-in-moid-1.a68: New test.1 parent 05b3549 commit 4ac3370
File tree
2 files changed
+5
-2
lines changed- gcc
- algol68
- testsuite/algol68/execute
2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
284 | | - | |
| 283 | + | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments