mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
More Sieve quotedstring handling fixes
This commit is contained in:
parent
e7608821da
commit
f6b53ad497
32 changed files with 235 additions and 158 deletions
|
|
@ -13,10 +13,13 @@ export class EnvironmentTest extends TestCommand
|
|||
constructor()
|
||||
{
|
||||
super();
|
||||
this.name = new GrammarQuotedString;
|
||||
this._name = new GrammarQuotedString;
|
||||
this.key_list = new GrammarStringList;
|
||||
}
|
||||
|
||||
get name() { return this._name.value; }
|
||||
set name(v) { this._name.value = v; }
|
||||
|
||||
get require() { return 'environment'; }
|
||||
|
||||
toString()
|
||||
|
|
@ -24,13 +27,13 @@ export class EnvironmentTest extends TestCommand
|
|||
return 'environment'
|
||||
+ (this.comparator ? ' :comparator ' + this.comparator : '')
|
||||
+ ' ' + this.match_type
|
||||
+ ' ' + this.name
|
||||
+ ' ' + this._name
|
||||
+ ' ' + this.key_list;
|
||||
}
|
||||
|
||||
pushArguments(args)
|
||||
{
|
||||
this.key_list = args.pop();
|
||||
this.name = args.pop();
|
||||
this._name = args.pop();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue