summaryrefslogtreecommitdiff
path: root/language/l2.ott
diff options
context:
space:
mode:
authorKathy Gray2015-12-14 15:55:50 +0000
committerKathy Gray2015-12-14 15:56:00 +0000
commitfd1c1502ab59cd8a392af86376be99b0dc6b6b1f (patch)
tree94316aae8826271fd7e794fd44d9fa4c205d331c /language/l2.ott
parent4fa10da0d4b6d8cfbb10455644836f7e1a802a2c (diff)
Adding new location constructor for location of generated terms
Diffstat (limited to 'language/l2.ott')
-rw-r--r--language/l2.ott3
1 files changed, 2 insertions, 1 deletions
diff --git a/language/l2.ott b/language/l2.ott
index fcd3abe8..94362c44 100644
--- a/language/l2.ott
+++ b/language/l2.ott
@@ -57,8 +57,9 @@ open import Set_extra
type l =
| Unknown
- | Int of string * maybe l (*Internally generated*)
+ | Int of string * l option (*internal types, functions*)
| Range of string * nat * nat * nat * nat
+ | Generated of l (*location for a generated node, where l is the location of the closest original source*)
type annot 'a = l * 'a