Closed AliHaider93 closed 1 month ago
Would be "Node" be a valid keyword too? In this case, using toupper()
would be better.
Or something similar, see e.g. the Notes in https://en.cppreference.com/w/cpp/string/byte/toupper.
Would be "Node" be a valid keyword too? In this case, using
toupper()
would be better.
your guess is right :), Node Also works, also NOde works, I will use toupper().
I tried using special characters for the part name like
and LS-PrePost doesnt care about them, so I think to upper is sfficent with a condition to change the parts names into a sequence of numbers if toupper() incounters special charachters.
it's unnessessary to check for weird Part name, mged doesn't care about it
toupper()
is applied to the first token of lines starting with a '*' only, right? Therefore, other stuff, like the part names, aren't touched.
Very nice patch. In fact, it could be a one-liner too.
The keywords in .k file are case insensitive.