Commit 4308ea96 authored by Custom2043's avatar Custom2043
Browse files

fix

parent d4a447aa
No preview for this file type
......@@ -157,14 +157,16 @@ public class Compiler
boolean foundAfterThisLine = false, tokenTransient = false, found = false;
for (Line l : lines)
{
if (l == currentLine)
foundAfterThisLine = true;
else if (l.header.id.getName().equals(tokenSearch.id.getName()))
if (l.header.id.getName().equals(tokenSearch.id.getName()))
{
tokenTransient = l.header.trans != null;
found = true;
break;
}
}
if (!found)
report(new Info(InfoModel.tokenUndeclared, token));
else if (first && foundAfterThisLine)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment