aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/tokens.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/d/dmd/tokens.h')
-rw-r--r--gcc/d/dmd/tokens.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/d/dmd/tokens.h b/gcc/d/dmd/tokens.h
index ef91001..ecbcc02 100644
--- a/gcc/d/dmd/tokens.h
+++ b/gcc/d/dmd/tokens.h
@@ -1,6 +1,6 @@
/* Compiler implementation of the D programming language
- * Copyright (C) 1999-2024 by The D Language Foundation, All Rights Reserved
+ * Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved
* written by Walter Bright
* https://www.digitalmars.com
* Distributed under the Boost Software License, Version 1.0.
@@ -54,7 +54,6 @@ enum class TOK : unsigned char
false_,
throw_,
new_,
- delete_,
variable,
slice,
version_,
@@ -258,6 +257,7 @@ enum class TOK : unsigned char
wchar_tLiteral,
endOfLine, // \n, \r, \u2028, \u2029
whitespace,
+ rvalue,
// C only keywords
inline_,
@@ -476,7 +476,7 @@ struct Token
Identifier *ident;
};
- Token() : next(NULL) {}
+ Token() : next(nullptr) {}
const char *toChars() const;
static const char *toChars(TOK value);