diff --git a/Compiler/.idea/.idea.Compiler/.idea/workspace.xml b/Compiler/.idea/.idea.Compiler/.idea/workspace.xml index 3057778..f144cc8 100644 --- a/Compiler/.idea/.idea.Compiler/.idea/workspace.xml +++ b/Compiler/.idea/.idea.Compiler/.idea/workspace.xml @@ -147,7 +147,7 @@ - + @@ -181,86 +181,86 @@ - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + diff --git a/Compiler/Compiler.cs b/Compiler/Compiler.cs index c44d3fd..c2a760e 100644 --- a/Compiler/Compiler.cs +++ b/Compiler/Compiler.cs @@ -39,8 +39,6 @@ namespace Compiler static List TestLexer(string path, int debugLevel) { - //List> tokenLists = new List>(); - //string[] files = Directory.GetFiles(path); Lexer.Lexer lexer = new Lexer.Lexer(); @@ -72,12 +70,11 @@ namespace Compiler try { Node programNode = p.Parse(NodeType.ProgramNode); + Console.WriteLine("Parsed \"" + path.Split("/").Last() + "\""); if (debugLevel > 0) { PrettyPrint(programNode, ""); } - - Console.WriteLine("Parsed \"" + path.Split("/").Last() + "\""); } catch (Exception e) {