diff --git a/.gitignore b/.gitignore index 95f106b73..676aa28f4 100644 --- a/.gitignore +++ b/.gitignore @@ -65,6 +65,7 @@ config.log *.pyc site_scons/site_tools/mfprogram/*.pyc site_scons/site_tools/gch/*.pyc -.vscode/ipch +.vscode/ +.vs/ screenshot_* diff --git a/newelement.py b/newelement.py index a03e9f1f1..7918d8b8c 100755 --- a/newelement.py +++ b/newelement.py @@ -8,7 +8,7 @@ else: name = sys.argv[1] if re.search('[^A-Z0-9-]', name): - sys.exit('element names should only contain uppercase letters, numbers and hyphens (you can change the Name property of the element to whatever later though, which is what shows up in menus)') + sys.exit('element names should only contain uppercase letters, digits and hyphens (you can change the Name property of the element to whatever later though, which is what shows up in menus)') path = 'src/simulation/elements/' + name + '.cpp'