diff --git a/ground/uavobjgenerator/generators/generator_common.h b/ground/uavobjgenerator/generators/generator_common.h index 0ae6f470e..719a6c3af 100644 --- a/ground/uavobjgenerator/generators/generator_common.h +++ b/ground/uavobjgenerator/generators/generator_common.h @@ -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);