diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2017-01-23 12:54:05 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2017-01-23 12:54:05 +0100 |
commit | d43584ca123f03c24aa7e59a43ecf2bd3a6e4863 (patch) | |
tree | 5c7896f94b60c3c0c1fe404b8c967066aca643fe /gcc/ada/scng.adb | |
parent | 0f83b0444cf59c7d73fd870e71f6cac3c69a134e (diff) | |
download | gcc-d43584ca123f03c24aa7e59a43ecf2bd3a6e4863.zip gcc-d43584ca123f03c24aa7e59a43ecf2bd3a6e4863.tar.gz gcc-d43584ca123f03c24aa7e59a43ecf2bd3a6e4863.tar.bz2 |
[multiple changes]
2017-01-23 Hristian Kirtchev <kirtchev@adacore.com>
* exp_ch5.adb, freeze.adb, par-ch4.adb, scng.adb, sem_ch13.adb,
sem_ch3.adb, sem_ch5.adb, sem_ch5.ads, sem_util.adb, sinfo.ads: Minor
reformatting.
* exp_ch9.adb: minor style fix in comment.
2017-01-23 Ed Schonberg <schonberg@adacore.com>
* sem_ch4.adb (Analyze_Allocator): Handle properly a type derived
for a limited record extension with unknown discriminants whose
full view has no discriminants.
2017-01-23 Yannick Moy <moy@adacore.com>
* exp_spark.adb: Alphabetize with clauses.
From-SVN: r244788
Diffstat (limited to 'gcc/ada/scng.adb')
-rw-r--r-- | gcc/ada/scng.adb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/scng.adb b/gcc/ada/scng.adb index 0fae960..ba3c950 100644 --- a/gcc/ada/scng.adb +++ b/gcc/ada/scng.adb @@ -158,9 +158,9 @@ package body Scng is | Tok_And | Tok_Apostrophe | Tok_Array - | Tok_At_Sign | Tok_Asterisk | Tok_At + | Tok_At_Sign | Tok_Body | Tok_Box | Tok_Char_Literal @@ -1618,6 +1618,7 @@ package body Scng is else -- AI12-0125-03 : @ is target_name + Accumulate_Checksum ('@'); Scan_Ptr := Scan_Ptr + 1; Token := Tok_At_Sign; @@ -2438,6 +2439,7 @@ package body Scng is -- Invalid graphic characters -- Note that '@' is handled elsewhere, because following AI12-125 -- it denotes the target_name of an assignment. + when '#' | '$' | '?' | '`' | '\' | '^' | '~' => -- If Set_Special_Character has been called for this character, |