ceriel 37 anos atrás
pai
commit
de8fb5d489
3 arquivos alterados com 3 adições e 3 exclusões
  1. 1 1
      lang/cem/cemcom/input.c
  2. 1 1
      lang/cem/cemcom/ival.g
  3. 1 1
      lang/cem/cemcom/program.g

+ 1 - 1
lang/cem/cemcom/input.c

@@ -10,8 +10,8 @@
 #define INP_TYPE	struct file_info
 #define INP_VAR		finfo
 struct file_info	finfo;
-#include <inp_pkg.body>
 #include "nopp.h"
+#include <inp_pkg.body>
 
 #ifndef NOPP
 char *

+ 1 - 1
lang/cem/cemcom/ival.g

@@ -67,7 +67,7 @@ initial_value_pack(struct type **tpp; struct expr **expp;) :
 	'}'
 ;
 
-initial_value_list(register struct type *tpp; struct expr **expp;)
+initial_value_list(register struct type **tpp; struct expr **expp;)
 	{ struct expr *e1;
 	  register struct type **tpp2 = 0;
 	}

+ 1 - 1
lang/cem/cemcom/program.g

@@ -153,7 +153,7 @@ non_function(register struct decspecs *ds; register struct declarator *dc;)
 	[
 		initializer(dc->dc_idf, ds->ds_sc)
 	|
-		{ code_declaration(dc->dc_idf, (struct excpr *) 0, level, ds->ds_sc); }
+		{ code_declaration(dc->dc_idf, (struct expr *) 0, level, ds->ds_sc); }
 	]
 	[
 		','