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
d7318ae6
Commit
d7318ae6
authored
Jun 19, 2003
by
John van Groningen
Browse files
enable boxed records
parent
8eac943c
Changes
2
Hide whitespace changes
Inline
Side-by-side
backendC/CleanCompilerSources/compiledefines.h
View file @
d7318ae6
...
...
@@ -21,6 +21,6 @@
#define SA_RECOGNIZES_ABORT_AND_UNDEF 1
#define STRICT_LISTS 1
#define BOXED_RECORDS
0
#define BOXED_RECORDS
1
#undef KARBON
frontend/parse.icl
View file @
d7318ae6
...
...
@@ -1658,13 +1658,11 @@ where
= case token of
CurlyOpenToken
-> want_record_type_rhs name False exi_vars pState
/*
ExclamationToken
# (token, pState) = nextToken TypeContext pState
| token==CurlyOpenToken
-> want_record_type_rhs name True exi_vars pState
-> (PD_Type td, parseError "Record type" No ("after ! in definition of record type "+name+" { ") pState)
*/
/*
ColonToken
| isEmpty exi_vars
-> (PD_Erroneous, parseError "Algebraic type" No "no colon, :," pState)
...
...
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