view src/dil/lexer/IdentsEnum.d @ 820:1d06b4aed7cf

Revised code in the first pass. Added code to handle anonymous unions and structs. Hope the idea will work. Added type to class Aggregate and isAnonymous to some other Symbol classes.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Fri, 14 Mar 2008 15:42:08 +0100
parents bcb74c9b895c
children
line wrap: on
line source

/++
  Author: Aziz Köksal
  License: GPL3
+/
module dil.lexer.IdentsEnum;

import dil.lexer.IdentsGenerator;

version(DDoc)
  enum IDK : ushort; /// Enumeration of predefined identifier kinds.
else
mixin(
  // Enumerates predefined identifiers.
  "enum IDK : ushort {"
    "Null,"
    ~ generateIDMembers ~
  "}"
);