variables of non-scaler UDT cannot be declared!
| Bugzilla Link | 436 |
| Created on | Jun 17, 2008 12:23 |
| Resolution | FIXED |
| Resolved on | Jul 10, 2014 22:48 |
| Version | 1.00beta |
| OS | Linux |
| Architecture | PC |
Extended Description
as of rev 15732, the following trivial example does not parse:
typedef int[2] foo;
int main()
{
foo[2] x;
x = (:foo[*])[[1,2],[3,4]];
return( 0);
}
It returns:
ABORT: line 5 file: tata.sac
ABORT: syntax error at pos 10: 'x`
ABORT: foo[2] x;
ABORT: ^