More Sieve quotedstring handling fixes

This commit is contained in:
the-djmaze 2024-09-23 13:37:38 +02:00
parent e7608821da
commit f6b53ad497
32 changed files with 235 additions and 158 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();
}
}