Fix Sieve QuotedString handling

This commit is contained in:
the-djmaze 2024-09-23 13:43:24 +02:00
parent 257d9201f6
commit 61c2eefec1
13 changed files with 185 additions and 104 deletions

View file

@ -41,18 +41,21 @@ export class ErrorCommand extends ControlCommand
constructor()
{
super();
this.message = new GrammarQuotedString;
this._message = new GrammarQuotedString;
}
get require() { return 'ihave'; }
get message() { return this._message.value; }
set message(v) { this._message.value = v; }
toString()
{
return 'error ' + this.message + ';';
return 'error ' + this._message + ';';
}
pushArguments(args)
{
this.message = args.pop();
this._message = args.pop();
}
}