Nested arrays don't work as advertised
|Created on||Aug 27, 2012 17:42|
Created an attachment (id=925) source code to reproduce fault I tried to make a simple demo of nested array code, to see how well it performs, but she no work: sac2c pl.sac -irr_arr -O3 ** 1: Loading SAC program ... **** Locating source code ... Reading from file "./pl.sac" ... **** Running C preprocessor ... **** Parsing input file ... ./pl.sac error:11:16 token `;' expected, `char' token found ./pl.sac error:13:8 type expected, `word' found ABORT: Failed to construct a syntax tree for `pl.sac' sac2c -V sac2c v1.00-beta (Haggis And Apple) developer rev 18159:18167:MODIFIED linux-gnu_x86_64 (Mon Aug 27 09:25:14 EDT 2012 by sac) The compiler complains about this line: typedef nested char[.] word; I'm assigning this to Clemens, inasmuch as he directed Roland's work, and I don't see any other documentation or code examples kicking around.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information