- Removed unses `Lexer[]` `lexers` array
- Disabled some tests
This commit is contained in:
Tristan B. Velloza Kildaire 2023-01-20 21:20:54 +02:00
parent cd43b41d66
commit 62ca320c76
1 changed files with 2 additions and 8 deletions

View File

@ -140,7 +140,6 @@ void beginCompilation(string[] sourceFiles)
/* TODO: Begin compilation process, take in data here */
gprintln("Compiling files "~to!(string)(sourceFiles)~" ...");
Lexer[] lexers;
foreach(string sourceFile; sourceFiles)
{
/* Read in the source code */
@ -171,13 +170,8 @@ unittest
// FIXME: Crashes and I think because too fast or actually bad state? Maybe something is not being
// cleared, I believe this may be what is happening
// ... see issue #88
string[] testFiles = ["source/tlang/testing/simple_functions.t",
"source/tlang/testing/simple_while.t",
"source/tlang/testing/simple_for_loops.t",
"source/tlang/testing/simple_cast.t",
"source/tlang/testing/simple_conditionals.t",
"source/tlang/testing/nested_conditionals.t",
"source/tlang/testing/simple_discard.t"
// ... UPDATE: It seems to be any unit test..... mhhhh.
string[] testFiles = ["source/tlang/testing/simple_while.t"
];
foreach(string testFile; testFiles)
{