This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
fix to allow jucer to handle resource files beginning with a digit
tags/2021-05-28
jules
17 years ago
parent
54bff61ae6
commit
248d26a2a8
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
extras/the jucer/src/utility/jucer_UtilityFunctions.cpp
+ 3
- 0
extras/the jucer/src/utility/jucer_UtilityFunctions.cpp
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[] =
{
Write
Preview
Loading…
Cancel
Save