Skip to content
Snippets Groups Projects
Commit bc5f97c1 authored by Chris Foster's avatar Chris Foster
Browse files

- Small fix to strip spaces from names as well.

parent 63fb1116
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ def LegalName(Name): ...@@ -74,7 +74,7 @@ def LegalName(Name):
import string import string
NewName = ReplaceSet(Name, string.punctuation, "_") NewName = ReplaceSet(Name, string.punctuation + " ", "_")
if NewName[0].isdigit() or NewName in ["ARRAY", if NewName[0].isdigit() or NewName in ["ARRAY",
"DWORD", "DWORD",
"UCHAR", "UCHAR",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment