1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

fix to allow jucer to handle resource files beginning with a digit

This commit is contained in:
jules 2008-12-18 19:30:43 +00:00
parent 54bff61ae6
commit 248d26a2a8

View file

@ -223,6 +223,9 @@ const String makeValidCppIdentifier (String s,
n << words[i];
}
if (CharacterFunctions::isDigit (n[0]))
n = T("_") + n;
// make sure it's not a reserved c++ keyword..
static const tchar* const reservedWords[] =
{