switched two statements
This commit is contained in:
parent
9eb90686bb
commit
3ea0178678
2 changed files with 42 additions and 45 deletions
82
Compiler/.idea/.idea.Compiler/.idea/workspace.xml
generated
82
Compiler/.idea/.idea.Compiler/.idea/workspace.xml
generated
|
|
@ -147,7 +147,7 @@
|
|||
<workItem from="1597604480117" duration="13146000" />
|
||||
<workItem from="1597620399423" duration="389000" />
|
||||
<workItem from="1597650936637" duration="537000" />
|
||||
<workItem from="1597695400525" duration="4637000" />
|
||||
<workItem from="1597695400525" duration="4873000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
|
|
@ -181,86 +181,86 @@
|
|||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state x="2169" y="170" width="430" height="508" key="FileChooserDialogImpl/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597507670532" />
|
||||
<state width="1868" height="289" key="GridCell.Tab.0.bottom" timestamp="1597700036417">
|
||||
<state width="1868" height="383" key="GridCell.Tab.0.bottom" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="289" key="GridCell.Tab.0.bottom/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700036417" />
|
||||
<state width="1868" height="289" key="GridCell.Tab.0.center" timestamp="1597700036417">
|
||||
<state width="1868" height="383" key="GridCell.Tab.0.bottom/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.0.center" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="289" key="GridCell.Tab.0.center/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700036417" />
|
||||
<state width="1868" height="289" key="GridCell.Tab.0.left" timestamp="1597700036417">
|
||||
<state width="1868" height="383" key="GridCell.Tab.0.center/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.0.left" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="289" key="GridCell.Tab.0.left/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700036417" />
|
||||
<state width="1868" height="289" key="GridCell.Tab.0.right" timestamp="1597700036417">
|
||||
<state width="1868" height="383" key="GridCell.Tab.0.left/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.0.right" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="289" key="GridCell.Tab.0.right/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700036417" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.bottom" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.0.right/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.bottom" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.bottom/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.center" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.bottom/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.center" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.center/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.left" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.center/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.left" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.left/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.right" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.left/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.right" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.right/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.bottom" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.right/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.bottom" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.bottom/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.center" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.bottom/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.center" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.center/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.left" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.center/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.left" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.left/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.right" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.left/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.right" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.right/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.bottom" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.2.right/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.bottom" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.bottom/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.center" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.bottom/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.center" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.center/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.left" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.center/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.left" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.left/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.right" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.left/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.right" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.right/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.bottom" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.3.right/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.bottom" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.bottom/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.center" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.bottom/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.center" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.center/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.left" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.center/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.left" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.left/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.right" timestamp="1597698294797">
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.left/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.right" timestamp="1597700274767">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.right/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698294797" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.4.right/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597700274767" />
|
||||
<state x="1989" y="220" width="806" height="524" key="Rider.ProjectTemplateDialog.Size" timestamp="1597507532464">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
|
|
|
|||
|
|
@ -39,8 +39,6 @@ namespace Compiler
|
|||
|
||||
static List<Token> TestLexer(string path, int debugLevel)
|
||||
{
|
||||
//List<List<Token>> tokenLists = new List<List<Token>>();
|
||||
//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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue