The current error to fix: division returns the last number, and doesn't divide by it (e.g. 6/3/2 returns 2 instead of 1)

This commit is contained in:
Clemens-Dautermann 2020-12-18 12:15:15 +01:00
parent 92a2235437
commit 72023962f5
3 changed files with 5 additions and 2 deletions

View file

@ -112,12 +112,12 @@ namespace Compiler
{
*/
string file = "/home/clemens/repositorys/lcc/stage_3/valid/precedence_add_a_lot.c";
string file = "/home/clemens/repositorys/lcc/stage_3/valid/div_2.c";
Console.WriteLine("-------------");
List<Token> tokens = TestLexer(file, 0);
Node programNode = TestParser(tokens, file, 1);
//TestGenerator(programNode, 1);
TestGenerator(programNode, 1);
//}
/*