Add START and END constants to std (#6270)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
@ -143,13 +143,23 @@ impl From<KclError> for ParseResult {
|
||||
}
|
||||
}
|
||||
|
||||
const STR_DEPRECATIONS: [(&str, &str); 6] = [
|
||||
const STR_DEPRECATIONS: [(&str, &str); 16] = [
|
||||
("XY", "XY"),
|
||||
("XZ", "XZ"),
|
||||
("YZ", "YZ"),
|
||||
("-XY", "-XY"),
|
||||
("-XZ", "-XZ"),
|
||||
("-YZ", "-YZ"),
|
||||
("xy", "XY"),
|
||||
("xz", "XZ"),
|
||||
("yz", "YZ"),
|
||||
("-xy", "-XY"),
|
||||
("-xz", "-XZ"),
|
||||
("-yz", "-YZ"),
|
||||
("START", "START"),
|
||||
("start", "START"),
|
||||
("END", "END"),
|
||||
("end", "END"),
|
||||
];
|
||||
const FN_DEPRECATIONS: [(&str, &str); 3] = [("pi", "PI"), ("e", "E"), ("tau", "TAU")];
|
||||
const CONST_DEPRECATIONS: [(&str, &str); 4] = [
|
||||
|
Reference in New Issue
Block a user