Input syntax must not be usable for output

This commit is contained in:
Jaex 2018-11-24 22:32:14 +03:00
parent 857ba9b222
commit 3d3eaa2c64

View file

@ -201,12 +201,15 @@ private string ParseSyntax(string syntax, bool isOutput)
return ParseSyntaxXml(value);
}
}
if (CheckKeyword(syntax, "input")) // Example: $input$
else
{
return Input;
if (CheckKeyword(syntax, "input")) // Example: $input$
{
return Input;
}
}
else if (CheckKeyword(syntax, "filename")) // Example: $filename$
if (CheckKeyword(syntax, "filename")) // Example: $filename$
{
return Filename;
}