foralex / picoc

Automatically exported from code.google.com/p/picoc
0 stars 0 forks source link

Can't assign struct coordinates from array initializer #188

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. picoc -s coordinates.c

What is the expected output? What do you see instead?
No output expected. We get this error message: 
   "can't assign struct coordinates from array initializer"

What version of the product are you using? On what operating system?
Svn revision 603, on MS Windows 7, compiled with MS Visual Studio.

Please provide any additional information below.

Original issue reported on code.google.com by christop...@gmail.com on 14 Jan 2014 at 10:46

Attachments:

GoogleCodeExporter commented 8 years ago
Here is the source code :
struct coordinates
{
   int x;
   int y;
};
struct coordinates location = {12, 17};

Original comment by christop...@gmail.com on 14 Jan 2014 at 10:47