mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
uavobjgenerator: enable '+' character in object field names
Useful for names like "Pitch+Roll" or similar. Will be removed from symbolic indentifiers.
This commit is contained in:
parent
acf2aa218b
commit
abe5136de0
@ -31,7 +31,7 @@
|
|||||||
#include "generator_io.h"
|
#include "generator_io.h"
|
||||||
|
|
||||||
// These special chars (regexp) will be removed from C/java identifiers
|
// 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, ObjectInfo* info);
|
||||||
void replaceCommonTags(QString& out);
|
void replaceCommonTags(QString& out);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user