tinyos / nesc

Master nesc repository
GNU General Public License v2.0
100 stars 53 forks source link

AST.c errors #27

Closed antoniolm23 closed 10 years ago

antoniolm23 commented 10 years ago

In doing the command make, the following errors appear:

AST.c:28:20: error: unknown type name ‘node’,

AST.c:37:1: error: unknown type name ‘unary’ unary newkind_unary(region r, AST_kind kind, location location, expression arg1)

AST.c:37:65: error: unknown type name ‘expression’ unary newkind_unary(region r, AST_kind kind, location location, expression arg1) ^ AST.c:46:1: error: unknown type name ‘binary’ binary newkind_binary(region r, AST_kind kind, location location,

the same errors appear wherever there's the type "node" in the same file and related to (e.g. AST_list_node), hence I was unable to compile and install nesc...

dgay42 commented 10 years ago

Should be fixed now (https://github.com/tinyos/nesc/commit/da4a54897562f030dc9dfcd7f9942f6a9e79785e)