From 588353449e376d15abd355253af931e7d7ad47a5 Mon Sep 17 00:00:00 2001 From: "zik.saleeba" Date: Tue, 10 Mar 2009 04:11:03 +0000 Subject: [PATCH] Updated TODO git-svn-id: http://picoc.googlecode.com/svn/trunk@186 21eae674-98b7-11dd-bd71-f92a316d2d60 --- TODO | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/TODO b/TODO index f34d4e5..9738140 100644 --- a/TODO +++ b/TODO @@ -1,14 +1,18 @@ TODO Bugs: -* int fact(int i) { - if (i < 2) { - return i; - } - return (i * fact(i - 1)); -} * something wrong with interactive mode after error handling - not clearing token buffer correctly? * parsing of statements not quite right - seems to optionally want extra tokens at end +* enum doesn't allow declarations without a variable +* +bash-3.2$ ./picoc.exe -i +starting picoc +picoc> enum fred {a, b, c} hello; +picoc> printf("%d %d %d\n", a, b, c); +0 1 2 +picoc> enum fred d; +:3: 'd' is already defined + Implement: * operator precedence