mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Fixed Suffix in Parse Block
This commit is contained in:
@@ -181,11 +181,12 @@ namespace RuriLib
|
||||
catch { throw new ArgumentException("Variable name not specified"); }
|
||||
|
||||
// Parse the prefix and suffix
|
||||
if (LineParser.ParseToken(ref input, TokenType.Literal, false, false) == "")
|
||||
return this;
|
||||
|
||||
Prefix = LineParser.ParseLiteral(ref input, "PREFIX");
|
||||
Suffix = LineParser.ParseLiteral(ref input, "SUFFIX");
|
||||
try
|
||||
{
|
||||
Prefix = LineParser.ParseLiteral(ref input, "PREFIX");
|
||||
Suffix = LineParser.ParseLiteral(ref input, "SUFFIX");
|
||||
}
|
||||
catch { }
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user