aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/d/dmd/scope.h')
-rw-r--r--gcc/d/dmd/scope.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/d/dmd/scope.h b/gcc/d/dmd/scope.h
index ea3bf38..ea3061b 100644
--- a/gcc/d/dmd/scope.h
+++ b/gcc/d/dmd/scope.h
@@ -66,6 +66,10 @@ enum PINLINE;
#define SCOPEfullinst 0x10000 // fully instantiate templates
#define SCOPEalias 0x20000 // inside alias declaration
+// The following are mutually exclusive
+#define SCOPEprintf 0x40000 // printf-style function
+#define SCOPEscanf 0x80000 // scanf-style function
+
struct Scope
{
Scope *enclosing; // enclosing Scope