aboutsummaryrefslogtreecommitdiff
path: root/generate-command-parser.pl
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2020-04-10 18:32:56 +0200
committerMichael Stapelberg <michael@stapelberg.de>2020-04-11 15:13:51 +0200
commit08b25407f0ef32f7fdfdd25db1443dc22573d0cc (patch)
treeaac5c847ab79b4c135e2daf3ce8b817524db2eac /generate-command-parser.pl
parent1eb7cb248b9c0b8b9f4b3c82f030690b3586eaf5 (diff)
downloadi3-orestisfl/A_I3_FLOATING_WINDOW.tar.gz
i3-orestisfl/A_I3_FLOATING_WINDOW.zip
use floating_from="auto" or "user" (and tiling_from) syntaxorestisfl/A_I3_FLOATING_WINDOW
Diffstat (limited to 'generate-command-parser.pl')
-rwxr-xr-xgenerate-command-parser.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/generate-command-parser.pl b/generate-command-parser.pl
index 052e4c66..a017edab 100755
--- a/generate-command-parser.pl
+++ b/generate-command-parser.pl
@@ -218,6 +218,8 @@ for my $state (@keys) {
# quote of the literal. We can do strdup(literal + 1); then :).
$token_name =~ s/'$//;
}
+ # Escape double quotes:
+ $token_name =~ s,",\\",g;
my $next_state = $token->{next_state};
if ($next_state =~ /^call /) {
($call_identifier) = ($next_state =~ /^call ([0-9]+)$/);