Hi! I'm having some troubles with an enum with base type string. Here's the code:
enum Type:string
{
DOT="DOT",
ID="ID",
MODULE="MODULE",
SEMICOLON="SEMICOLON",
ERROR="ERROR",
EOF="EOF"
}
For every element of the enum, dmd writes this message two times:
Integer constant expression expected instead of "DOT"
(with "ID", "MODULE", ... instead of "DOT")
Am I doing something wrong?
Thanks in advance.
Lodo
