D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 4615 - dmdscript no longer compiles
Summary: dmdscript no longer compiles
Status: RESOLVED WORKSFORME
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P2 regression
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 13:00 UTC by Chris Miller
Modified: 2010-11-15 00:38 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Chris Miller 2010-08-10 13:00:13 UTC
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 Don 2010-11-15 00:38:00 UTC
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.