summary refs log tree commit diff
path: root/minic
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-02-28 20:36:01 -0800
committerOri Bernstein <ori@eigenstate.org>2016-02-28 20:36:01 -0800
commit8a9b0c551366d1b16ae6ddbe72c8480d9df0a736 (patch)
treea82d6872236b211f52f3b4b117060bc6cb7ca084 /minic
parent50c5af4290aed32a7733768c1bee2e64c93a7f84 (diff)
downloadroux-8a9b0c551366d1b16ae6ddbe72c8480d9df0a736.tar.gz
Add strings as 'b "foo"'
Diffstat (limited to 'minic')
-rw-r--r--minic/minic.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/minic/minic.y b/minic/minic.y
index 06ef2d6..1ea19c5 100644
--- a/minic/minic.y
+++ b/minic/minic.y
@@ -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;
 }