開業が挿入されていなかったバグを修正
This commit is contained in:
@@ -770,6 +770,7 @@ class Parser
|
|||||||
void syntaxError()
|
void syntaxError()
|
||||||
{
|
{
|
||||||
stderr.writeln("Syntax error (", lex.getLine(), ')', " Mysterious ", lex.front().type);
|
stderr.writeln("Syntax error (", lex.getLine(), ')', " Mysterious ", lex.front().type);
|
||||||
|
stderr.writeln(this.getLine(lex.location));
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
throw new Exception("Stacktrace");
|
throw new Exception("Stacktrace");
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ struct Slot
|
|||||||
program.clear();
|
program.clear();
|
||||||
foreach(l; splitter(data, "\n"))
|
foreach(l; splitter(data, "\n"))
|
||||||
{
|
{
|
||||||
program.insertBack(l);
|
program.insertBack(l ~ '\n');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user