Commit 05b3549
committed
a68: remove redefined_keyword check and add test
This commit removes a spurious call to detect_redefined_keyword that
would emit confusing error messages.
Signed-off-by: Jose E. Marchesi <[email protected]>
gcc/algol68/ChangeLog
* a68-parser-extract.cc (a68_extract_indicants): Do not
detect_redefined_keyword for accessed modules.
gcc/testsuite/ChangeLog
* algol68/compile/modules/program-error-multiple-delaration-module-1.a68:
New test.1 parent ed0c185 commit 05b3549
File tree
2 files changed
+8
-1
lines changed- gcc
- algol68
- testsuite/algol68/compile/modules
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
349 | 348 | | |
350 | 349 | | |
351 | 350 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments