diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/cuchaz/enigma/analysis/SourceIndex.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/cuchaz/enigma/analysis/SourceIndex.java b/src/cuchaz/enigma/analysis/SourceIndex.java index fb5cc65..49451b9 100644 --- a/src/cuchaz/enigma/analysis/SourceIndex.java +++ b/src/cuchaz/enigma/analysis/SourceIndex.java | |||
| @@ -77,19 +77,6 @@ public class SourceIndex | |||
| 77 | token.end -= pos + 1; | 77 | token.end -= pos + 1; |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | /* HACKHACK: sometimes node regions are off by one | ||
| 81 | // I think this is a bug in Procyon, but it's easy to work around | ||
| 82 | if( !Character.isJavaIdentifierStart( m_source.charAt( token.start ) ) ) | ||
| 83 | { | ||
| 84 | token.start++; | ||
| 85 | token.end++; | ||
| 86 | if( !Character.isJavaIdentifierStart( m_source.charAt( token.start ) ) ) | ||
| 87 | { | ||
| 88 | throw new IllegalArgumentException( "Region " + region + " does not describe valid token: '" + m_source.substring( token.start, token.end ) + "'" ); | ||
| 89 | } | ||
| 90 | } | ||
| 91 | */ | ||
| 92 | |||
| 93 | return token; | 80 | return token; |
| 94 | } | 81 | } |
| 95 | 82 | ||