Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
f885f33d
Commit
f885f33d
authored
Jun 20, 2000
by
clean
Browse files
no message
parent
5b51fa6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/postparse.icl
View file @
f885f33d
...
...
@@ -777,7 +777,8 @@ collectFunctionBodies fun_name fun_arity fun_prio fun_kind all_defs=:[PD_Functio
collectFunctionBodies
fun_name
fun_arity
fun_prio
fun_kind
defs
ca
=
([],
fun_kind
,
defs
,
ca
)
reorganiseDefinitions
::
Bool
[
ParsedDefinition
]
Index
Index
Index
*
CollectAdmin
->
([
FunDef
],
CollectedDefinitions
(
ParsedInstance
FunDef
)
[
FunDef
],
[
ParsedImport
],
[
ImportedObject
],
*
CollectAdmin
)
//reorganiseDefinitions :: Bool [ParsedDefinition] Index Index Index *CollectAdmin -> ([FunDef],CollectedDefinitions (ParsedInstance FunDef) [FunDef], [ParsedImport], [ImportedObject], *CollectAdmin)
reorganiseDefinitions
::
Bool
[
ParsedDefinition
]
Index
Index
Index
*
CollectAdmin
->
(![
FunDef
],!
CollectedDefinitions
(
ParsedInstance
FunDef
)
[
FunDef
],
![
ParsedImport
],
![
ImportedObject
],
!*
CollectAdmin
)
reorganiseDefinitions
icl_module
[
PD_Function
pos
name
is_infix
args
rhs
fun_kind
:
defs
]
cons_count
sel_count
mem_count
ca
#
prio
=
if
is_infix
(
Prio
NoAssoc
9
)
NoPrio
fun_arity
=
length
args
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment