summaryrefslogtreecommitdiff
path: root/resource
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2004-03-07 23:58:53 +0000
committerMark Wielaard <mark@klomp.org>2004-03-07 23:58:53 +0000
commitf64c1c1904d02d26783cfe5593ec2b530a825fb0 (patch)
treed4ea374258ee904871d49edcf8cee68add212458 /resource
parent25b46270ed5a0771d1bc47f1ec16bd7f2268c8ab (diff)
downloadclasspath-f64c1c1904d02d26783cfe5593ec2b530a825fb0.tar.gz
* configure.ac: Add gnu/regexp/Makefile and
resource/gnu/regexp/Makefile * gnu/Makefile.am (SUBDIRS): Add regexp. * gnu/regexp/Makefile.am: New file. * gnu/regexp/CharIndexed.java: Imported. * gnu/regexp/CharIndexedCharArray.java: Likewise. * gnu/regexp/CharIndexedInputStream.java: Likewise. * gnu/regexp/CharIndexedString.java: Likewise. * gnu/regexp/CharIndexedStringBuffer.java: Likewise. * gnu/regexp/RE.java: Likewise. * gnu/regexp/REException.java: Likewise. * gnu/regexp/REFilterInputStream.java: Likewise. * gnu/regexp/REMatch.java: Likewise. * gnu/regexp/REMatchEnumeration.java: Likewise. * gnu/regexp/RESyntax.java: Likewise. * gnu/regexp/REToken.java: Likewise. * gnu/regexp/RETokenAny.java: Likewise. * gnu/regexp/RETokenBackRef.java: Likewise. * gnu/regexp/RETokenChar.java: Likewise. * gnu/regexp/RETokenEnd.java: Likewise. * gnu/regexp/RETokenEndSub.java: Likewise. * gnu/regexp/RETokenOneOf.java: Likewise. * gnu/regexp/RETokenPOSIX.java: Likewise. * gnu/regexp/RETokenRange.java: Likewise. * gnu/regexp/RETokenRepeated.java: Likewise. * gnu/regexp/RETokenStart.java: Likewise. * gnu/regexp/RETokenWordBoundary.java: Likewise. * gnu/regexp/UncheckedRE.java: Likewise. * java/util/regex/Matcher.java: Add gnu.regexp wrappers. * java/util/regex/Pattern.java: Likewise. * resource/gnu/Makefile.am (SUBDIRS): Add regexp. * resource/gnu/regexp/Makefile.am: New file. * resource/gnu/regexp/MessagesBundle.properties: Imported. * resource/gnu/regexp/MessagesBundle_fr.properties: Likewise.
Diffstat (limited to 'resource')
-rw-r--r--resource/gnu/Makefile.am2
-rw-r--r--resource/gnu/regexp/Makefile.am3
-rw-r--r--resource/gnu/regexp/MessagesBundle.properties22
-rw-r--r--resource/gnu/regexp/MessagesBundle_fr.properties22
4 files changed, 48 insertions, 1 deletions
diff --git a/resource/gnu/Makefile.am b/resource/gnu/Makefile.am
index 8b1b73918..3353b2e09 100644
--- a/resource/gnu/Makefile.am
+++ b/resource/gnu/Makefile.am
@@ -1,4 +1,4 @@
## used by automake to generate Makefile.in
-SUBDIRS = java
+SUBDIRS = java regexp
diff --git a/resource/gnu/regexp/Makefile.am b/resource/gnu/regexp/Makefile.am
new file mode 100644
index 000000000..eac02040f
--- /dev/null
+++ b/resource/gnu/regexp/Makefile.am
@@ -0,0 +1,3 @@
+# automake uses this file to generate Makefile.in
+
+EXTRA_DIST = MessagesBundle.properties MessagesBundle_fr.properties
diff --git a/resource/gnu/regexp/MessagesBundle.properties b/resource/gnu/regexp/MessagesBundle.properties
new file mode 100644
index 000000000..1e077a403
--- /dev/null
+++ b/resource/gnu/regexp/MessagesBundle.properties
@@ -0,0 +1,22 @@
+# Localized error messages for gnu.regexp
+
+# Prefix for REException messages
+error.prefix=At position {0} in regular expression pattern:
+
+# REException (parse error) messages
+repeat.assertion=repeated token is zero-width assertion
+repeat.chained=attempted to repeat a token that is already repeated
+repeat.no.token=quantifier (?*+{}) without preceding token
+repeat.empty.token=repeated token may be empty
+unmatched.brace=unmatched brace
+unmatched.bracket=unmatched bracket
+unmatched.paren=unmatched parenthesis
+interval.no.end=expected end of interval
+class.no.end=expected end of character class
+subexpr.no.end=expected end of subexpression
+interval.order=interval minimum is greater than maximum
+interval.error=interval is empty or contains illegal characters
+ends.with.backslash=backslash at end of pattern
+
+# RESyntax message
+syntax.final=Syntax has been declared final and cannot be modified
diff --git a/resource/gnu/regexp/MessagesBundle_fr.properties b/resource/gnu/regexp/MessagesBundle_fr.properties
new file mode 100644
index 000000000..8ab8356c1
--- /dev/null
+++ b/resource/gnu/regexp/MessagesBundle_fr.properties
@@ -0,0 +1,22 @@
+# Localized error messages for gnu.regexp
+
+# Prefix for REException messages
+error.prefix=A l''index {0} dans le modèle d''expression régulière:
+
+# REException (parse error) messages
+repeat.assertion=l'élément répété est de largeur zéro
+repeat.chained=tentative de répétition d'un élément déjà répété
+repeat.no.token=quantifieur (?*+{}) sans élément précédent
+repeat.empty.token=l'élément répété peut être vide
+unmatched.brace=accolade inégalée
+unmatched.bracket=crochet inégalé
+unmatched.paren=parenthèse inégalée
+interval.no.end=fin d'interval attendue
+class.no.end=fin de classe de caractères attendue
+subexpr.no.end=fin de sous-expression attendue
+interval.order=l'interval minimum est supérieur à l'interval maximum
+interval.error=l'interval est vide ou contient des caractères illégaux
+ends.with.backslash=antislash à la fin du modèle
+
+# RESyntax message
+syntax.final=La syntaxe a été déclarée finale et ne peut pas être modifiée