Bug 4615 – dmdscript no longer compiles

Status
RESOLVED
Resolution
WORKSFORME
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2010-08-10T13:00:00Z
Last change time
2010-11-15T00:38:00Z
Assigned to
nobody
Creator
chris

Comments

Comment #0 by chris — 2010-08-10T13:00:13Z
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.