ref: e8c2fe57e7ec1d7465eb6f00bdb7aad8f4264c29
parent: 217a65d3c047bcdec44155f2688e3b1bdfd2414f
author: Ori Bernstein <[email protected]>
date: Tue Oct 7 17:59:06 EDT 2014
Plan9 doesn't like named initializers. Don't use them in Zloc.
--- a/parse/parse.h
+++ b/parse/parse.h
@@ -57,7 +57,8 @@
Ntraits
} Tc;
-#define Zloc ((Srcloc){.line=-1, .file=0})
+#define Zloc ((Srcloc){-1, 0})
+
struct Srcloc {
int line;
int file;