- Timestamp:
- 2021-10-26T00:57:23+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/search/SearchCompiler.java
r18208 r18291 2129 2129 if (!tokenizer.readIfEqual(Token.RIGHT_PARENT)) 2130 2130 throw new SearchParseError(Token.RIGHT_PARENT, tokenizer.nextToken()); 2131 return expression ;2131 return expression != null ? expression : Always.INSTANCE; 2132 2132 } else if (tokenizer.readIfEqual(Token.NOT)) { 2133 2133 return new Not(parseFactor(tr("Missing operator for NOT")));
Note:
See TracChangeset
for help on using the changeset viewer.