RPTools / parser

MapTool Macro Parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for ISO-8859-1 characters to the parser

Merudo opened this issue · comments

Antlr 2.7.7 supports ISO-8859-1 characters, which include accents such as à, ê, ë, ï, ÿ, etc.

Enabling those characters would help a lot with the internationalization of MapTool: many languages such as French, German, Spanish, and Dutch require them.

The antlr parser could easily be change to recognize these characters. I suggest we do so.

PR #31 implements this.

Characters now supported:

1920px-Latin-1-infobox svg

The ones after the ...................................... are added by PR #31.

The last two rows can be used in variable names, except for the × and ÷ symbols.