Project

General

Profile

« Previous | Next » 

Revision 79614a15

Added by Xavier Thirioux over 8 years ago

numerous bugs corrected:
- bug in expansion of array accesses with constant arrays
- bug in printing complex array indexes (not C compliant)
- bug wrt C99 typing policy for constant arrays
- bug in signaling wrong useless static input

View differences:

src/parser_lustre.mly
257 257
| STRUCT LCUR field_list RCUR { Tydec_struct (List.rev $3) }
258 258

  
259 259
array_typ_decl:
260
                            { fun typ -> typ }
260
 %prec POWER                { fun typ -> typ }
261 261
 | POWER dim array_typ_decl { fun typ -> $3 (Tydec_array ($2, typ)) }
262 262

  
263 263
typeconst:

Also available in: Unified diff