diff options
author | Robert Dewar <dewar@adacore.com> | 2009-05-06 12:53:27 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-05-06 14:53:27 +0200 |
commit | 483c78cb8e390ab868a6e489d932460942d8c4d9 (patch) | |
tree | 492cd082cc6e4f7b5a7e18b91c76fcbe7eacbd77 /gcc/ada/scng.adb | |
parent | 4e7a4f6e8a2dd2e01783029b028dd935ca16b134 (diff) | |
download | gcc-483c78cb8e390ab868a6e489d932460942d8c4d9.zip gcc-483c78cb8e390ab868a6e489d932460942d8c4d9.tar.gz gcc-483c78cb8e390ab868a6e489d932460942d8c4d9.tar.bz2 |
errout.adb: Minor reformatting
2009-05-06 Robert Dewar <dewar@adacore.com>
* errout.adb: Minor reformatting
* scng.adb, sem_prag.adb, par-ch4.adb, sem_res.adb, par-ch6.adb,
sem_ch6.adb, par-prag.adb, sem_ch8.adb, sem_warn.adb, par-util.adb,
styleg.adb: Add stylized comments to error messages that are included
in the codefix circuitry of IDE's such as GPS.
From-SVN: r147173
Diffstat (limited to 'gcc/ada/scng.adb')
-rw-r--r-- | gcc/ada/scng.adb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ada/scng.adb b/gcc/ada/scng.adb index 914c101..56b1e4c 100644 --- a/gcc/ada/scng.adb +++ b/gcc/ada/scng.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2008, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -377,19 +377,19 @@ package body Scng is if Source (Scan_Ptr) = '_' then if Source (Scan_Ptr - 1) = '_' then - Error_Msg_S + Error_Msg_S -- CODEFIX ("two consecutive underlines not permitted"); else - Error_Msg_S + Error_Msg_S -- CODEFIX??? ("underline cannot follow punctuation character"); end if; else if Source (Scan_Ptr - 1) = '_' then - Error_Msg_S + Error_Msg_S -- CODEFIX??? ("punctuation character cannot follow underline"); else - Error_Msg_S + Error_Msg_S -- CODEFIX??? ("two consecutive punctuation characters not permitted"); end if; end if; |