Adding check that charset range is in correct order
This commit is contained in:
1 parent
9b8eef9c02
commit
d882ee8e08
2 files changed
+11
No files matched your search
@@ -26,5 +26,9 @@ export default {
|
||||
setup() {
|
||||
this.first = this.properties.first;
|
||||
this.last = this.properties.last;
|
||||
|
||||
if (this.first.ordinal > this.last.ordinal) {
|
||||
throw `Range out of order in character class: ${this.textValue}`;
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user