Skip to content

Commit 1ed24ca

Browse files
author
dtrg
committed
No longer generates zero bytes in the script's output file.
1 parent 9ca41cf commit 1ed24ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

util/opt/pop_push.awk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ BEGIN { print "#include \"pop_push.h\""
1515
END { print "};"
1616
print
1717
print "char flow_tab[]= {"
18-
print "'\000',"
18+
print "'\\000',"
1919
for(i=0; i < NR-switch; i++) {
2020
inf = col_2[i]
2121
f_out = "/* " comment[i] " */ "
2222
if (substr(inf,1,1)=="b") f_out = f_out "HASLABEL|"
2323
if (substr(inf,2,1)=="c") f_out = f_out "CONDBRA"
2424
else if (substr(inf,2,1)=="t") f_out = f_out "JUMP"
25-
else f_out = f_out "'\000'"
25+
else f_out = f_out "'\\000'"
2626
print f_out","
2727
}
2828
print "};"

0 commit comments

Comments
 (0)