DMDScript at http://www.digitalmars.com/dscript/ no longer compiles:
C:\>make -f win32.mak
dmd -c textgen.d
dmd .\textgen.obj .\textgen.exe
.\textgen
dmd -c -I.. -O -release testscript.d
dmd -c -I.. -O -release identifier.d
dmd -c -I.. -O -release lexer.d
lexer.d(151): Error: identifier 'TOKmax' is not defined
lexer.d(151): Error: index is not a type or an expression
--- errorlevel 1
even though TOKmax is in an enum just a few lines above.
Comment #1 by clugdbug — 2010-11-15T00:38:00Z
I tried DMD1.060, 1.063, 1.065, and the latest DMD1 from svn, all on WinXP.
They all work.
Sounds to me as though you have a problem with your paths. Or maybe you have a rogue lexer.di file somewhere.