decimal/hexadecimal escape sequences are not "unescaped"

Issue #38 new
mezzodrinker created an issue

According to MobTalkerScript's ANTLR grammar, decimal escape sequences in the form of

  '\\' decimal
| '\\' decimal decimal
| '\\' [0-2] decimal decimal

for decimal escapes (e.g. \176 for §) and

  '\\' 'x' hexadecimal
| '\\' 'x' hexadecimal hexadecimal

for hexadecimal escapes (e.g. \xA7 for §) are valid. The compiler does, however, not "unescape" those escape sequences, so they show up as \176 or \xA7 respectively when displayed to the user.

Comments (0)

  1. Log in to comment