Changeset 4548 in josm


Ignore:
Timestamp:
2011-10-29T13:34:49+02:00 (9 years ago)
Author:
jttt
Message:

Fix name template parser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/template_engine/Tokenizer.java

    r4546 r4548  
    4242    public enum TokenType { CONDITION_START, VARIABLE_START, CONTEXT_SWITCH_START, END, PIPE, APOSTROPHE, TEXT, EOF }
    4343
    44     private final List<Character> specialCharaters = Arrays.asList(new Character[] {'$', '?', '{', '}', '|', '\''});
     44    private final List<Character> specialCharaters = Arrays.asList(new Character[] {'$', '?', '{', '}', '|', '\'', '!'});
    4545
    4646    private final String template;
Note: See TracChangeset for help on using the changeset viewer.