haskell / alex

A lexical analyser generator for Haskell
https://hackage.haskell.org/package/alex
BSD 3-Clause "New" or "Revised" License
297 stars 82 forks source link

Makefile (examples) #209

Closed ghost closed 2 years ago

ghost commented 2 years ago

With alex-3.2.7 examples/Makefile wasn't updated.

ALEX_OPTS = --template=.. -g

The data/AlexWrapper-gscan file no longer exists.

andreasabel commented 2 years ago

Seems like examples/Makefile is broken:

alex-3.2.7.1/examples[master x]$ make all
../dist/build/alex/alex --template=.. -g lit.x -o lit.alex.hs
make: ../dist/build/alex/alex: Command not found
make: *** [Makefile:19: lit.alex.hs] Error 127

It relies on v1-cabal layout of the dist folder.

ghost commented 2 years ago

presume Won't Fix here

closing