Parser does not propely recognise dots in generators
|
|
Bugzilla Link |
748 |
Created on |
Sep 19, 2010 18:42 |
Resolution |
FIXED |
Resolved on |
Sep 27, 2010 04:42 |
Version |
svn |
OS |
All |
Architecture |
All |
Extended Description
The following code is not accepted:
int main( )
{
x = with {
(.<= iv <=.): 1;
}: genarray( [100]);
return( 0);
}
while this is:
int main( )
{
x = with {
(. <= iv <= .): 1;
}: genarray( [100]);
return( 0);
}
The spaces should under no circumstances affect the correctness of the code.
It is unclear what caused the bug as the upper code used to work, but it
may have to do with the use of the dot in the record extension. This needs
further investigation.