1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

uavobjgenerator: enable '(' and ')' characters in object field names

Useful for names like "DSM (FlexiPort)" or similar. Will be removed
from symbolic indentifiers.
This commit is contained in:
Oleg Semyonov 2011-10-30 11:34:47 +02:00
parent a19bbba858
commit 51ec7da0a2

View File

@ -31,7 +31,7 @@
#include "generator_io.h"
// These special chars (regexp) will be removed from C/java identifiers
#define ENUM_SPECIAL_CHARS "[\\.\\-\\s\\+/]"
#define ENUM_SPECIAL_CHARS "[\\.\\-\\s\\+/\\(\\)]"
void replaceCommonTags(QString& out, ObjectInfo* info);
void replaceCommonTags(QString& out);