aboutsummaryrefslogtreecommitdiff
path: root/interpreter/Elymas.pm
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2014-05-28 00:24:03 +0200
committerDrahflow <drahflow@gmx.de>2014-05-28 00:24:03 +0200
commit5431c7fd4d5a1abfcee1548e2e372f8b1300c88f (patch)
tree9951533873a1214a2d07e971ab32a8cdf0b1dc71 /interpreter/Elymas.pm
parent9ccdf0ddc45d63e9261febd80635781e882513d4 (diff)
\e support in strings
Diffstat (limited to 'interpreter/Elymas.pm')
-rw-r--r--interpreter/Elymas.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/interpreter/Elymas.pm b/interpreter/Elymas.pm
index 8fc16da..c2bb960 100644
--- a/interpreter/Elymas.pm
+++ b/interpreter/Elymas.pm
@@ -734,6 +734,8 @@ sub tokenize {
} elsif($line =~ /^\\(.)(.*)/s) {
if($1 eq '\\') {
$str .= '\\';
+ } elsif($1 eq 'e') {
+ $str .= "\e";
} elsif($1 eq 'n') {
$str .= "\n";
} elsif($1 eq 'r') {