Commit 06bf6438 authored by John van Groningen's avatar John van Groningen
Browse files

dont pass icl functions array to/from checkDclMacros,

it is not used because dcl macros cannot use icl macros.
parent 7b638984
......@@ -8,8 +8,8 @@ checkModule :: !ScannedModule !IndexRange ![FunDef] !Bool !Bool !Int !(Optional
checkFunctions :: !Index !Level !Index !Index !Int !*{#FunDef} !*ExpressionInfo !*Heaps !*CheckState
-> (!*{#FunDef},!*ExpressionInfo,!*Heaps,!*CheckState)
checkDclMacros :: !Index !Level !Index !Index !*{#FunDef} !*ExpressionInfo !*Heaps !*CheckState
-> (!*{#FunDef},!*ExpressionInfo,!*Heaps,!*CheckState)
checkDclMacros :: !Index !Level !Index !Index !*ExpressionInfo !*Heaps !*CheckState
-> (!*ExpressionInfo,!*Heaps,!*CheckState)
checkForeignExportedFunctionTypes :: ![ForeignExport] !*ErrorAdmin !p:PredefinedSymbols !*{#FunDef}
-> (!*ErrorAdmin,!p:PredefinedSymbols,!*{#FunDef})
......
This diff is collapsed.
......@@ -502,7 +502,8 @@ checkLocalFunctions mod_index level (CollectedLocalDefs {loc_functions={ir_from,
# ir_to=ir_to+local_functions_index_offset
| loc_in_icl_module
= checkFunctions mod_index level ir_from ir_to local_functions_index_offset fun_defs e_info heaps cs
= checkDclMacros mod_index level ir_from ir_to fun_defs e_info heaps cs
# (e_info,heaps,cs) = checkDclMacros mod_index level ir_from ir_to e_info heaps cs
= (fun_defs,e_info,heaps,cs)
checkExpression :: ![FreeVar] !ParsedExpr !ExpressionInput !*ExpressionState !*ExpressionInfo !*CheckState
-> *(!Expression, ![FreeVar], !*ExpressionState, !*ExpressionInfo, !*CheckState);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment