diff options
Diffstat (limited to 'generate-command-parser.pl')
-rwxr-xr-x | generate-command-parser.pl | 2 |
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]+)$/); |