foralex / picoc

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

const not implemented #170

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Launch the interpreter with command "const int i;" to be parsed.

What is the expected output? What do you see instead?
const int i;
      ^
sample01.c:1: 'const' is undefined

What version of the product are you using? On what operating system?
picoc v2.2 beta r583 on Cygwin/Windows XP.

Original issue reported on code.google.com by christop...@gmail.com on 11 Dec 2012 at 3:47

GoogleCodeExporter commented 8 years ago
picoc is limited by design. It's a small language and only aims  
to do most, but not all of the ISO C standard.

Using const is unfortunately not supported by picoc.

Original comment by zik.sale...@gmail.com on 1 Mar 2014 at 4:31

GoogleCodeExporter commented 8 years ago
If you're interested in implementing "const" in picoc I'm open to incorporating 
it however I have no plans to implement it myself at this stage.

Original comment by zik.sale...@gmail.com on 1 Mar 2014 at 4:33