shithub: mc

Download patch

ref: b2e60fbc023bb9895c7a301cd72f7305a728904e
parent: 7a8432f91da0cd7b9e9fb0ccfb3c96d849d00b54
author: Ori Bernstein <[email protected]>
date: Thu Aug 8 08:08:00 EDT 2013

Rearrange declarations in grammar.

--- a/parse/gram.y
+++ b/parse/gram.y
@@ -15,12 +15,14 @@
 
 #include "parse.h"
 
+Stab *curscope;
+
 void yyerror(const char *s);
 int yylex(void);
+
 static Op binop(int toktype);
 static Node *mkpseudodecl(Type *t);
 static void installucons(Stab *st, Type *t);
-Stab *curscope;
 static void constrainwith(Type *t, char *str);
 
 %}