Changeset 4418
- Timestamp:
- 10/17/03 00:50:01 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/j/JavaSyntaxIterator.java
r4388 r4418 3 3 * 4 4 * Copyright (C) 1998-2003 Peter Graves 5 * $Id: JavaSyntaxIterator.java,v 1. 2 2003-10-15 15:32:55piso Exp $5 * $Id: JavaSyntaxIterator.java,v 1.3 2003-10-17 00:50:01 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 48 48 } 49 49 50 // Re turns char array with syntactic whitespace (quotes and comments)51 // replaced with actual spacecharacters.50 // Replaces comments with space characters and double-quoted strings with 51 // 'X' characters. 52 52 private char[] hideSyntacticWhitespace(String s, int initialState) 53 53 { … … 64 64 } 65 65 if (state == STATE_QUOTE) { 66 chars[i] = ' 66 chars[i] = 'X'; 67 67 if (c == '"') 68 68 state = STATE_NEUTRAL;
Note: See TracChangeset
for help on using the changeset viewer.