diff options
author | Steven Knight <knight@baldmt.com> | 2005-11-06 04:06:25 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-11-06 04:06:25 (GMT) |
commit | 65b2ec6b93efcb9947fb90126dfb6d00748769e8 (patch) | |
tree | b530bc66d178bee8eee514a8f3277cd3c3317652 /src/engine/SCons/Tool/JavaCommon.py | |
parent | ad6055f3ff5ec00a381fc989209c8db4dd59170d (diff) | |
download | SCons-65b2ec6b93efcb9947fb90126dfb6d00748769e8.zip SCons-65b2ec6b93efcb9947fb90126dfb6d00748769e8.tar.gz SCons-65b2ec6b93efcb9947fb90126dfb6d00748769e8.tar.bz2 |
Add support for the Java 1.5 enum keyword. (Kian Win Ong)
Diffstat (limited to 'src/engine/SCons/Tool/JavaCommon.py')
-rw-r--r-- | src/engine/SCons/Tool/JavaCommon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/JavaCommon.py b/src/engine/SCons/Tool/JavaCommon.py index 96d6486..06a4199 100644 --- a/src/engine/SCons/Tool/JavaCommon.py +++ b/src/engine/SCons/Tool/JavaCommon.py @@ -115,7 +115,7 @@ if java_parsing: if len(self.listClasses) > 0: return self.__getAnonClassState() return self.__getSkipState() # Skip the class name - elif token == 'class' or token == 'interface': + elif token in ['class', 'interface', 'enum']: if len(self.listClasses) == 0: self.nextAnon = 1 self.stackBrackets.append(self.brackets) |