diff options
Diffstat (limited to 'src/cuchaz/enigma/analysis/SourceIndex.java')
| -rw-r--r-- | src/cuchaz/enigma/analysis/SourceIndex.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cuchaz/enigma/analysis/SourceIndex.java b/src/cuchaz/enigma/analysis/SourceIndex.java index b777f9f..fb5cc65 100644 --- a/src/cuchaz/enigma/analysis/SourceIndex.java +++ b/src/cuchaz/enigma/analysis/SourceIndex.java | |||
| @@ -77,7 +77,7 @@ 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 | 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 | 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 ) ) ) | 82 | if( !Character.isJavaIdentifierStart( m_source.charAt( token.start ) ) ) |
| 83 | { | 83 | { |
| @@ -88,6 +88,7 @@ public class SourceIndex | |||
| 88 | throw new IllegalArgumentException( "Region " + region + " does not describe valid token: '" + m_source.substring( token.start, token.end ) + "'" ); | 88 | throw new IllegalArgumentException( "Region " + region + " does not describe valid token: '" + m_source.substring( token.start, token.end ) + "'" ); |
| 89 | } | 89 | } |
| 90 | } | 90 | } |
| 91 | */ | ||
| 91 | 92 | ||
| 92 | return token; | 93 | return token; |
| 93 | } | 94 | } |