[erlang-questions] leex problem outputting file

autophile <>
Fri Jan 12 19:33:17 CET 2007

Problem found, by reading the leex source.

When writing the output file, leex first tries to open leex.hrl in the following search path:


However, since I had not installed leex in either . or tools/include, leex did not find leex.hrl.

(Note to Robert: Please put a better error message in! "Couldn't find leex.hrl" would make much more sense than "open error" :)

Perhaps using code:code_path() would make more sense?

Post sent from http://www.trapexit.org

More information about the erlang-questions mailing list