From 841e54e3dcf1373e9f462c55c0be93dda642321c Mon Sep 17 00:00:00 2001 From: hallgren Date: Fri, 4 May 2012 12:39:07 +0000 Subject: alex 3 incompatibility workaround As a temporary workaround, alex is no longer invoked automatically when building with cabal. Developers who want to modify the lexer need to run alex on Lexer.x manually and record the modified Lexer.hs. src/compiler/GF/Grammar/lexer/Lexer.x -- hidden from cabal src/compiler/GF/Grammar/Lexer.hs -- update it manually --- gf.cabal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gf.cabal') diff --git a/gf.cabal b/gf.cabal index 4c9e550b3..f1bf61b98 100644 --- a/gf.cabal +++ b/gf.cabal @@ -111,7 +111,8 @@ executable gf other-modules: GFServer hs-source-dirs: src/server src/server/transfer src/example-based - build-tools: happy, alex>=2 && <3 + build-tools: happy + --, alex>=2 && <3 -- tricky to install in Ubuntu 12.04 if os(windows) build-depends: Win32 else -- cgit v1.2.3