add alternate to list of STATEMENT_OR_BLOCK_KEYS - fixes #955
This commit is contained in:
parent
130e0ebe6b
commit
f7fff7d35e
@ -34,7 +34,7 @@ function registerType(type, skipAliasCheck) {
|
||||
};
|
||||
}
|
||||
|
||||
t.STATEMENT_OR_BLOCK_KEYS = ["consequent", "body"];
|
||||
t.STATEMENT_OR_BLOCK_KEYS = ["consequent", "body", "alternate"];
|
||||
t.NATIVE_TYPE_NAMES = ["Array", "Object", "Number", "Boolean", "Date", "Array", "String"];
|
||||
t.FOR_INIT_KEYS = ["left", "init"];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user