Added: rfc5233

Activate: comparator
Bugfix: StringList must use .toString()
Bugfix: redirect command
Bugfix: MultiLine
This commit is contained in:
djmaze 2021-01-15 16:09:03 +01:00
parent 3566f4a538
commit 73e26d388a
12 changed files with 86 additions and 50 deletions

View file

@ -156,7 +156,7 @@ class Redirect extends Command
toString()
{
return 'redirect ' + this.address + ';';
return 'redirect ' + this._address + ';';
}
get address()
@ -168,6 +168,13 @@ class Redirect extends Command
{
this._address.value = value;
}
pushArguments(args)
{
if (args[0] instanceof Grammar.StringType) {
this._address = args[0];
}
}
}
/**