diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-31 18:01:11 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-31 18:01:11 +0000 |
commit | f564b304996f4ddcc7b8ddf7ed124a051625c3e1 (patch) | |
tree | 256e6d71a6992c08fb3dfd7d84fe2ec7402595c2 /gcc/ada/g-spipat.adb | |
parent | 01316465df59fefd624562f041673533e9aa6aa5 (diff) | |
download | gcc-f564b304996f4ddcc7b8ddf7ed124a051625c3e1.tar.gz |
2006-10-31 Robert Dewar <dewar@adacore.com>
* g-spipat.adb (S_To_PE): Remove incorrect use of 0 instead of Str'First
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118282 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-spipat.adb')
-rw-r--r-- | gcc/ada/g-spipat.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/g-spipat.adb b/gcc/ada/g-spipat.adb index 8a5375ddd6f..a7a3af690e4 100644 --- a/gcc/ada/g-spipat.adb +++ b/gcc/ada/g-spipat.adb @@ -3431,7 +3431,7 @@ package body GNAT.Spitbol.Patterns is return new PE'(PC_Null, 1, EOP); when 1 => - return new PE'(PC_Char, 1, EOP, Str (1)); + return new PE'(PC_Char, 1, EOP, Str (Str'First)); when 2 => return new PE'(PC_String_2, 1, EOP, Str); |