Commit f2b8f680 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Let the backend generator scripts emit \t instead of literal tabs.

parent ad1ef5b7
......@@ -52,7 +52,7 @@ sub create_emitter {
our $arch;
my @tokens = ($template =~ m/[^\%]+|\%[a-zA-Z_][a-zA-Z0-9_]*|\%./g);
push(@{$result}, "${indent}be_emit_char('\t');\n");
push(@{$result}, "${indent}be_emit_char('\\t');\n");
for (@tokens) {
if (/%\./) { last SWITCH; }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment