summaryrefslogtreecommitdiff
path: root/src/compiler/GF.hs
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2011-11-02 11:44:59 +0000
committerkr.angelov <kr.angelov@gmail.com>2011-11-02 11:44:59 +0000
commit5fe49ed9f7ac7089301e867e55bfedefcba230dd (patch)
tree3d49a4fbd3e3af5350b4e276d65ec3c17f0907c3 /src/compiler/GF.hs
parent42af63414fae6cec2ea6d648464f9475501b2b28 (diff)
Now the compiler maintains more precise information for the source locations of the different definitions. There is a --tags option which generates a list of all identifiers with their source locations.
Diffstat (limited to 'src/compiler/GF.hs')
-rw-r--r--src/compiler/GF.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/GF.hs b/src/compiler/GF.hs
index 43a2a0b7f..bb68f5de6 100644
--- a/src/compiler/GF.hs
+++ b/src/compiler/GF.hs
@@ -3,6 +3,7 @@ module Main where
import GFC
import GFI
+import GFTags
import GF.Data.ErrM
import GF.Infra.Option
import GF.Infra.UseIO
@@ -47,3 +48,4 @@ mainOpts opts files =
ModeRun -> mainRunGFI opts files
ModeServer -> mainServerGFI opts files
ModeCompiler -> dieIOE (mainGFC opts files)
+ ModeTags -> dieIOE (mainTags opts files)