Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compiler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clean-compiler-and-rts
compiler
Commits
0a85c455
Commit
0a85c455
authored
20 years ago
by
John van Groningen
Browse files
Options
Downloads
Patches
Plain Diff
export strictness of argument of newHashTable
parent
147f3f2e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/hashtable.dcl
+1
-1
1 addition, 1 deletion
frontend/hashtable.dcl
frontend/hashtable.icl
+1
-1
1 addition, 1 deletion
frontend/hashtable.icl
with
2 additions
and
2 deletions
frontend/hashtable.dcl
+
1
−
1
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
...
...
This diff is collapsed.
Click to expand it.
frontend/hashtable.icl
+
1
−
1
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment