Add strings as 'b "foo"'

This commit is contained in:
Ori Bernstein 2016-02-28 20:36:01 -08:00
parent 50c5af4290
commit 8a9b0c5513
4 changed files with 56 additions and 46 deletions

View file

@ -950,6 +950,6 @@ main()
if (yyparse() != 0)
die("parse error");
for (i=1; i<nglo; i++)
fprintf(of, "data $glo%d = %s\n", i, ini[i]);
fprintf(of, "data $glo%d = {b %s, b 0 }\n", i, ini[i]);
return 0;
}