aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorVincent Celier <celier@adacore.com>2006-10-31 19:12:34 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2006-10-31 19:12:34 +0100
commit271ae089f369707a933bde440cf10290979a517f (patch)
treeb204073d6d6a7453132634546ba1dd233b4613c1 /gcc/ada
parent99f503294e07d2e5d7f351f6fe7475c5cec31fd8 (diff)
downloadgcc-271ae089f369707a933bde440cf10290979a517f.zip
gcc-271ae089f369707a933bde440cf10290979a517f.tar.gz
gcc-271ae089f369707a933bde440cf10290979a517f.tar.bz2
a-dirval-vms.adb (Invalid_Character): Specify that digits are allowed in file names.
2006-10-31 Vincent Celier <celier@adacore.com> * a-dirval-vms.adb (Invalid_Character): Specify that digits are allowed in file names. From-SVN: r118321
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/a-dirval-vms.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/a-dirval-vms.adb b/gcc/ada/a-dirval-vms.adb
index 9948ea2..e0321c7 100644
--- a/gcc/ada/a-dirval-vms.adb
+++ b/gcc/ada/a-dirval-vms.adb
@@ -7,7 +7,7 @@
-- B o d y --
-- (VMS Version) --
-- --
--- Copyright (C) 2004-2005 Free Software Foundation, Inc. --
+-- Copyright (C) 2004-2006 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- --
@@ -42,6 +42,7 @@ package body Ada.Directories.Validity is
Invalid_Character : constant array (Character) of Boolean :=
('a' .. 'z' => False,
'A' .. 'Z' => False,
+ '0' .. '9' => False,
'_' | '$' | '-' | '.' => False,
others => True);