Setup.hs: compile Alltenses before Present

When mkPresent (or another preprocessor) is used, error messages from GF will
show the file name _gf_preproc.tmp instead of the name of the file where
the error occurred. By compiling Alltenses first, the real file name will
appear in error messages (unless the error only happens then mkPresent is
used).
This commit is contained in:
hallgren
2014-12-11 22:18:21 +00:00
parent 3e8e477652
commit 75338503a9

View File

@@ -60,8 +60,8 @@ main = defaultMainWithHooks simpleUserHooks{ preBuild = gfPreBuild
--------------------------------------------------------
data Mode = AllTenses | Present deriving Show
all_modes = ["present","alltenses"]
default_modes = [Present,AllTenses]
all_modes = ["alltenses","present"]
default_modes = [AllTenses,Present]
data RGLCommand
= RGLCommand