From 75338503a9a4b72bbb6f901deaaa58c19cdea5dd Mon Sep 17 00:00:00 2001 From: hallgren Date: Thu, 11 Dec 2014 22:18:21 +0000 Subject: [PATCH] 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). --- Setup.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Setup.hs b/Setup.hs index 76062bcbe..41345396d 100644 --- a/Setup.hs +++ b/Setup.hs @@ -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