From: Peep P. <so...@us...> - 2004-06-12 20:13:21
|
Update of /cvsroot/agd/server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32118 Modified Files: TODO ChangeLog Log Message: Self-documenting changes. Index: TODO =================================================================== RCS file: /cvsroot/agd/server/TODO,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- TODO 12 Jun 2004 16:48:28 -0000 1.21 +++ TODO 12 Jun 2004 20:13:12 -0000 1.22 @@ -2,17 +2,16 @@ '!' means first-priority, '?' means trivial and not really important. - ! new interpreter! - Interpreter. - - runtime() for dfuns (doesn't display line numbers) + - F_PUSH_NUM_INT <constant> <number> + - F_POP_N <number> - pops <number> elements off the stack + - runtime() for dfuns (doesn't display line numbers) - display stack trace (with line numbers and functions) when getting a runtime error lang.y: - ! pop locals after leaving block - do int i while(1); should either not be allowed syntactically or should pop after it pushes ! break, continue - ! remove all the shift/reduce conflicts - compile.c::compile_prog() should show global vars - debug.c::print_code() should show functions' arguments Index: ChangeLog =================================================================== RCS file: /cvsroot/agd/server/ChangeLog,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- ChangeLog 8 Jun 2004 20:50:40 -0000 1.19 +++ ChangeLog 12 Jun 2004 20:13:12 -0000 1.20 @@ -1,5 +1,10 @@ 0.0.3: ---------------------------------------------------------------------------- +2004-06-12 + * lang.y: lvalues work again + * lang.y: removed the hacky rules to have statements without semicolons; + do_while now uses expr instead of statement, so do..while without a + semicolon is still possible 2004-06-08 * compile.c: redeclaration is now more sane. Also fixed crasher in redeclaration_error() - didn't allocate enough space for strcat() |