- Timestamp:
- 2016-12-14T03:40:45+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions/search
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/PushbackTokenizer.java
r11374 r11393 54 54 55 55 public enum Token { 56 NOT(marktr("<not>")), OR(marktr("<or>")), XOR(marktr("<xor>")), LEFT_PARENT(marktr("<left parent>")), 57 RIGHT_PARENT(marktr("<right parent>")), COLON(marktr("<colon>")), EQUALS(marktr("<equals>")), 58 KEY(marktr("<key>")), QUESTION_MARK(marktr("<question mark>")), 59 EOF(marktr("<end-of-file>")), LESS_THAN("<less-than>"), GREATER_THAN("<greater-than>"); 56 NOT(marktr("<not>")), 57 OR(marktr("<or>")), 58 XOR(marktr("<xor>")), 59 LEFT_PARENT(marktr("<left parent>")), 60 RIGHT_PARENT(marktr("<right parent>")), 61 COLON(marktr("<colon>")), 62 EQUALS(marktr("<equals>")), 63 KEY(marktr("<key>")), 64 QUESTION_MARK(marktr("<question mark>")), 65 EOF(marktr("<end-of-file>")), 66 LESS_THAN("<less-than>"), 67 GREATER_THAN("<greater-than>"); 60 68 61 69 Token(String name) { -
trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
r11385 r11393 80 80 this.tokenizer = tokenizer; 81 81 82 /* register core match factories at first instance, so plugins should 83 * never be able to generate a NPE 84 */ 82 // register core match factories at first instance, so plugins should never be able to generate a NPE 85 83 if (simpleMatchFactoryMap.isEmpty()) { 86 84 addMatchFactory(new CoreSimpleMatchFactory());
Note:
See TracChangeset
for help on using the changeset viewer.