aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Visitor/Interpreter.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Visitor/Interpreter.php b/Visitor/Interpreter.php
index 0a5c234..da62297 100644
--- a/Visitor/Interpreter.php
+++ b/Visitor/Interpreter.php
@@ -572,6 +572,9 @@ class Interpreter implements \Hoa\Visitor\Visit {
case 'x':
return \Hoa\String::fromCode(hexdec($value));
+ case '\\':
+ return $value[1];
+
default:
return \Hoa\String::fromCode(octdec($value));
}