diff options
| author | Jose E. Marchesi <jemarch@gnu.org> | 2026-01-29 03:33:17 +0100 |
|---|---|---|
| committer | Jose E. Marchesi <jemarch@gnu.org> | 2026-01-29 12:06:10 +0100 |
| commit | 7632c2e12b231ae2648920daa7233f9778624c7a (patch) | |
| tree | a79fd803c6aa4f9bf20b5fb836abc22d162b3ca7 /libjava/testsuite/libjava.lang/PR25535.java | |
| parent | ef8af34e0d173723a607789cf7cabc61366babbf (diff) | |
| download | gcc-7632c2e12b231ae2648920daa7233f9778624c7a.zip gcc-7632c2e12b231ae2648920daa7233f9778624c7a.tar.gz gcc-7632c2e12b231ae2648920daa7233f9778624c7a.tar.bz2 | |
a68: implement GNU68-2026-001-short-of-symbol
This patch implements the GNU extension:
GNU68-2026-001-brief-selection - Brief style for selection
which adds the preferred brief style for selection recommended by
Hansen in "ALGOL 68 Hardware Represenatation Recommendations"
published in the Algol Bulletin issue 42.
This extension is already listed in https://algol68-lang.org.
Signed-off-by: Jose E. Marchesi <jemarch@gnu.org>
gcc/algol68/ChangeLog
* ga68.vw: Update formal grammar to express the GNU extension.
* a68-parser.cc (a68_dont_mark_here): Likewise.
* a68-parser-scanner.cc (SINGLE_QUOTE_CHAR): Define.
(get_next_token): Recognize ' as QUOTE_SYMBOL.
(tokenise_source): Acknowledge QUOTE_SYMBOL.
* a68-parser-keywords.cc (a68_set_up_tables): Likewise.
* a68-parser-bottom-up.cc (reduce_primary_parts): Adjust parser to
brief form of selection.
* a68-parser-attrs.def (QUOTE_SYMBOL): New attribute.
* ga68.texi (Brief selection): New section.
gcc/testsuite/ChangeLog
* algol68/compile/error-selector-1.a68: New test.
* algol68/execute/selection-2.a68: Update test.
* algol68/execute/selection-5.a68: Likewise.
Diffstat (limited to 'libjava/testsuite/libjava.lang/PR25535.java')
0 files changed, 0 insertions, 0 deletions
