Skip to content
GitLab
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
0a85c455
Commit
0a85c455
authored
Apr 02, 2004
by
John van Groningen
Browse files
export strictness of argument of newHashTable
parent
147f3f2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
frontend/hashtable.dcl
View file @
0a85c455
...
...
@@ -10,7 +10,7 @@ import syntax
,
hte_mark
::
!
Int
// 1 for .icl modules, otherwise 0
}
newHashTable
::
*
SymbolTable
->
*
HashTable
newHashTable
::
!
*
SymbolTable
->
*
HashTable
set_hte_mark
::
!
Int
!*
HashTable
->
*
HashTable
...
...
frontend/hashtable.icl
View file @
0a85c455
...
...
@@ -26,7 +26,7 @@ import predef, syntax, StdCompare, compare_constructor
::
BoxedIdent
=
{
boxed_ident
::!
Ident
}
newHashTable
::
*
SymbolTable
->
*
HashTable
newHashTable
::
!
*
SymbolTable
->
*
HashTable
newHashTable
symbol_heap
=
{
hte_symbol_heap
=
symbol_heap
,
hte_entries
=
{
HTE_Empty
\\
i
<-
[
0
..
dec
cHashTableSize
]
},
hte_mark
=
0
}
set_hte_mark
::
!
Int
!*
HashTable
->
*
HashTable
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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