ref: df3f645e8691393d3436f98676924ba8a17a5a4f
parent: dfec2eea513335dcc1cae0a85da47625b4e43d5e
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;