aboutsummaryrefslogtreecommitdiff
path: root/frontend/syntax.dcl
diff options
context:
space:
mode:
authorjohnvg2005-09-16 13:59:14 +0000
committerjohnvg2005-09-16 13:59:14 +0000
commit0ae58d602fa6d478d88f501ce77663a34c6334e7 (patch)
tree01b3c4afcef039e277ad1772615d8d74bd05692d /frontend/syntax.dcl
parentmake function markPatternVariables recursive to report an error (diff)
make line number in the
"demanded attribute cannot be offered by shared object" error message more accurate, store position in CaseAlt (added field calt_position) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1544 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/syntax.dcl')
-rw-r--r--frontend/syntax.dcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/syntax.dcl b/frontend/syntax.dcl
index cb88692..4986059 100644
--- a/frontend/syntax.dcl
+++ b/frontend/syntax.dcl
@@ -1081,6 +1081,7 @@ instance toString KindInfo
:: CaseAlt =
{ calt_pattern :: !ParsedExpr
, calt_rhs :: !Rhs
+ , calt_position :: !Position
}
:: LocalDef :== ParsedDefinition