1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Allow underline in generated file name

This commit is contained in:
disarray2077 2021-12-15 11:41:02 -03:00 committed by GitHub
parent bb6c59e39e
commit 53312a35f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -653,7 +653,7 @@ namespace IDE.ui
{
for (char8 c in fileName.RawChars)
{
if (!c.IsLetterOrDigit)
if (!c.IsLetterOrDigit && c != '_')
{
gApp.Fail(scope $"Invalid generated file name: {fileName}");
hadError = true;