Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-12-30 04:46:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-30 04:46:17 +0400
commit4ed9cea8ce210588f374fabeb75e0d70364f5b08 (patch)
tree0b49736042792b533e6c65f0dee610aa67b7189d /source/blender/makesdna/DNA_text_types.h
parent1fd05207256c13ea9a7c10db2ac6afc9334586dd (diff)
code cleanup: text editor formatting enums were named crypticly, also add asserts if the continuation values are wrong (which can happen with buffer overflows on formatting).
Diffstat (limited to 'source/blender/makesdna/DNA_text_types.h')
-rw-r--r--source/blender/makesdna/DNA_text_types.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/makesdna/DNA_text_types.h b/source/blender/makesdna/DNA_text_types.h
index cd4e31c2521..3194adba3a0 100644
--- a/source/blender/makesdna/DNA_text_types.h
+++ b/source/blender/makesdna/DNA_text_types.h
@@ -75,14 +75,4 @@ typedef struct Text {
#define TXT_FOLLOW 0x0200 /* always follow cursor (console) */
#define TXT_TABSTOSPACES 0x0400 /* use space instead of tabs */
-/* format continuation flags */
-#define TXT_NOCONT 0x00 /* no continuation */
-#define TXT_SNGQUOTSTR 0x01 /* single quotes */
-#define TXT_DBLQUOTSTR 0x02 /* double quotes */
-#define TXT_TRISTR 0x04 /* triplets of quotes: """ or ''' */
-#define TXT_SNGTRISTR 0x05 /*(TXT_TRISTR | TXT_SNGQUOTSTR)*/
-#define TXT_DBLTRISTR 0x06 /*(TXT_TRISTR | TXT_DBLQUOTSTR)*/
-#define TXT_CONT_COMMENT_C 0x08 /* multi-line comments, OSL only (C style) */
-#define TXT_CONT_COMMENT_CXX 0x10 /* single-line comments, OSL only (C++ style) */
-
#endif