forked from AbleScript/ablescript
ADDED VERY IMPORTANT CHANGE
This commit is contained in:
parent
c0a2857122
commit
2c7596c871
|
@ -5,7 +5,7 @@ pub const fn char2num(c: char) -> isize {
|
|||
'/' => 53,
|
||||
'\\' => 54,
|
||||
'.' => 55,
|
||||
'U' => -210,
|
||||
'U' => -210, // Backwards compatibility
|
||||
'A'..='Z' => -(c as isize) + 64,
|
||||
'a'..='z' => (c as isize) - 96,
|
||||
_ => 0,
|
||||
|
|
Loading…
Reference in a new issue