Merge pull request #9191 from WalterBright/TOK-ubyte

enum TOK should be a ubyte
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
This commit is contained in:
The Dlang Bot 2019-01-04 04:45:23 +01:00 committed by GitHub
commit b8b18de3f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -22,7 +22,7 @@ import dmd.root.outbuffer;
import dmd.root.rmem;
import dmd.utf;
enum TOK : int
enum TOK : ubyte
{
reserved,

View file

@ -31,7 +31,8 @@ class Identifier;
? && ||
*/
enum TOK
typedef unsigned char TOK;
enum
{
TOKreserved,