forked from GitHub/gf-core
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:
4
Setup.hs
4
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
|
||||
|
||||
Reference in New Issue
Block a user