mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 21:51:03 +03:00
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:
commit
b8b18de3f9
2 changed files with 3 additions and 2 deletions
|
@ -22,7 +22,7 @@ import dmd.root.outbuffer;
|
|||
import dmd.root.rmem;
|
||||
import dmd.utf;
|
||||
|
||||
enum TOK : int
|
||||
enum TOK : ubyte
|
||||
{
|
||||
reserved,
|
||||
|
||||
|
|
|
@ -31,7 +31,8 @@ class Identifier;
|
|||
? && ||
|
||||
*/
|
||||
|
||||
enum TOK
|
||||
typedef unsigned char TOK;
|
||||
enum
|
||||
{
|
||||
TOKreserved,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue