summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Grammar/Predef.hs
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2015-09-28 22:23:56 +0000
committerhallgren <hallgren@chalmers.se>2015-09-28 22:23:56 +0000
commit35be1828241bb8dacdf326810af388b7b349e591 (patch)
tree78ff946a0726e39c7eb5d871d903b9bdcd06520a /src/compiler/GF/Grammar/Predef.hs
parent82f238fe2b418a715fef52abc7136551fa535aac (diff)
Preliminary new shell feature: cc -trace.
You can now do things like cc -trace mkV "debug" to see a trace of all opers with their arguments and results during the computation of mkV "debug".
Diffstat (limited to 'src/compiler/GF/Grammar/Predef.hs')
-rw-r--r--src/compiler/GF/Grammar/Predef.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/GF/Grammar/Predef.hs b/src/compiler/GF/Grammar/Predef.hs
index e330f583c..95bdb1101 100644
--- a/src/compiler/GF/Grammar/Predef.hs
+++ b/src/compiler/GF/Grammar/Predef.hs
@@ -61,6 +61,7 @@ cRead = identS "read"
cToStr = identS "toStr"
cMapStr = identS "mapStr"
cError = identS "error"
+cTrace = identS "trace"
-- * Hacks: dummy identifiers used in various places.
-- Not very nice!