diff options
author | paltherr <paltherr@epfl.ch> | 2003-10-13 15:43:36 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-10-13 15:43:36 +0000 |
commit | 774bd9179ecc515902db63ef2ba7271e6d6d4a6e (patch) | |
tree | 8bcd236b0d46b796c821ac67337530947266d2a0 /sources/scalac/ast/parser/PatternNormalizer.java | |
parent | a87e39db1f901094e959fd2121b5d7afe98a9c6c (diff) | |
download | scala-774bd9179ecc515902db63ef2ba7271e6d6d4a6e.tar.gz scala-774bd9179ecc515902db63ef2ba7271e6d6d4a6e.tar.bz2 scala-774bd9179ecc515902db63ef2ba7271e6d6d4a6e.zip |
- Addded Definitions.PATTERN_WILDCARD
- Removed Names.WILDCARD
- Added Names.PATTERN_WILDCARD
- Added Names.IMPORT_WILDCARD
- Replaced most uses of Names.PATTERN_WILDCARD by Definitions.PATTERN_WILDCARD
- Removed TreeInfo.isWildcardPattern
Diffstat (limited to 'sources/scalac/ast/parser/PatternNormalizer.java')
-rw-r--r-- | sources/scalac/ast/parser/PatternNormalizer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/ast/parser/PatternNormalizer.java b/sources/scalac/ast/parser/PatternNormalizer.java index 1a358f859f..b76fd11a3b 100644 --- a/sources/scalac/ast/parser/PatternNormalizer.java +++ b/sources/scalac/ast/parser/PatternNormalizer.java @@ -88,7 +88,7 @@ public class PatternNormalizer { case Ident( Name var ): if(( inAlt ) - &&( var != Names.WILDCARD ) + &&( var != Names.PATTERN_WILDCARD ) &&( var.toString().lastIndexOf("$") == -1)) { unit.error( t.pos, |