diff options
Diffstat (limited to 'frontend/syntax.icl')
-rw-r--r-- | frontend/syntax.icl | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/frontend/syntax.icl b/frontend/syntax.icl index 995b10a..e695103 100644 --- a/frontend/syntax.icl +++ b/frontend/syntax.icl @@ -115,7 +115,8 @@ NotALevel :== -1 :: NodeDef dst = { nd_dst ::!dst, nd_alts ::!OptGuardedAlts, - nd_locals ::!LocalDefs + nd_locals ::!LocalDefs, + nd_position ::!Position } :: Rhs = @@ -846,18 +847,21 @@ cNotVarNumber :== -1 , alt_guard :: !ParsedExpr , alt_expr :: !OptGuardedAlts , alt_ident :: !Ident + , alt_position:: !Position } :: ExprWithLocalDefs = { ewl_nodes :: ![NodeDefWithLocals] , ewl_expr :: !ParsedExpr , ewl_locals :: !LocalDefs + , ewl_position:: !Position } :: NodeDefWithLocals = - { ndwl_strict :: !Bool - , ndwl_def :: !Bind ParsedExpr ParsedExpr - , ndwl_locals :: !LocalDefs + { ndwl_strict :: !Bool + , ndwl_def :: !Bind ParsedExpr ParsedExpr + , ndwl_locals :: !LocalDefs + , ndwl_position :: !Position } |