From ddda5856e49c82fb6d5a4a94dae46a93ceade138 Mon Sep 17 00:00:00 2001
From: johnvg
Date: Thu, 18 Oct 2001 11:33:45 +0000
Subject: store macros and local functions in macros in separate {#{#FunDef}},
 remove conversion table, except for macros

git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@863 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
---
 frontend/checkFunctionBodies.dcl | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'frontend/checkFunctionBodies.dcl')

diff --git a/frontend/checkFunctionBodies.dcl b/frontend/checkFunctionBodies.dcl
index fd75a04..3701527 100644
--- a/frontend/checkFunctionBodies.dcl
+++ b/frontend/checkFunctionBodies.dcl
@@ -9,16 +9,15 @@ import syntax, checksupport
 	,	es_calls			:: ![FunCall]
 	,	es_dynamics			:: ![ExprInfoPtr]
 	,	es_fun_defs			:: !.{# FunDef}
-// MV ...
  	,	es_dynamic_expr_count	:: !Int				// used to give each dynamic expr an unique id
-// ... MV
 	}
 	
 ::	ExpressionInput =
 	{	ei_expr_level	:: !Level
-	,	ei_fun_index	:: !Index
+	,	ei_fun_index	:: !FunctionOrMacroIndex
 	,	ei_fun_level	:: !Level
 	,	ei_mod_index	:: !Index
+	,	ei_local_functions_index_offset :: !Int
 	}
 
 checkFunctionBodies :: !FunctionBody !Ident !.ExpressionInput !*ExpressionState !*ExpressionInfo !*CheckState
-- 
cgit v1.2.3