From 095c4f45c32d87c6ba96226e286f3289ee3e2482 Mon Sep 17 00:00:00 2001 From: flip111 Date: Sun, 21 Oct 2018 22:07:43 +0100 Subject: [PATCH] Update Llk.php Fix bug https://github.com/hoaproject/Compiler/issues/90 --- Llk/Llk.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Llk/Llk.php b/Llk/Llk.php index c4eb9482..ce435dfd 100644 --- a/Llk/Llk.php +++ b/Llk/Llk.php @@ -125,7 +125,7 @@ public static function save(Parser $parser, $className) ' \'' . $tokenName . '\' => \'' . str_replace( ['\'', '\\\\'], - ['\\\'', '\\\\\\'], + ['\\\'', '\\\\\\\\'], $tokenValue ) . '\',' . "\n"; }