Changeset 12656 in josm for trunk/src/org/openstreetmap/josm/tools/template_engine/TemplateParser.java
- Timestamp:
- 2017-08-26T00:40:19+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/template_engine/TemplateParser.java
r11929 r12656 9 9 import java.util.List; 10 10 11 import org.openstreetmap.josm.actions.search.SearchCompiler; 12 import org.openstreetmap.josm.actions.search.SearchCompiler.Match; 11 import org.openstreetmap.josm.data.osm.search.SearchCompiler; 12 import org.openstreetmap.josm.data.osm.search.SearchCompiler.Match; 13 import org.openstreetmap.josm.data.osm.search.SearchParseError; 13 14 import org.openstreetmap.josm.tools.template_engine.Tokenizer.Token; 14 15 import org.openstreetmap.josm.tools.template_engine.Tokenizer.TokenType; … … 102 103 result.getEntries().add(new SearchExpressionCondition( 103 104 SearchCompiler.compile(searchText), condition)); 104 } catch (Search Compiler.ParseError e) {105 } catch (SearchParseError e) { 105 106 throw new ParseError(searchExpression.getPosition(), e); 106 107 } … … 133 134 Match match = SearchCompiler.compile(searchText); 134 135 result = new ContextSwitchTemplate(match, template, searchExpression.getPosition()); 135 } catch (Search Compiler.ParseError e) {136 } catch (SearchParseError e) { 136 137 throw new ParseError(searchExpression.getPosition(), e); 137 138 }
Note:
See TracChangeset
for help on using the changeset viewer.
