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
f2e017a8
Commit
f2e017a8
authored
May 03, 2021
by
John van Groningen
Browse files
fix parsing of tail strict from-to list expressions, e.g. [0..9!]
parent
de27c3c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/parse.icl
View file @
f2e017a8
...
@@ -4519,10 +4519,9 @@ where
...
@@ -4519,10 +4519,9 @@ where
-> case acc of
-> case acc of
[e]
[e]
# pd_from_to_index =
# pd_from_to_index =
if
(
head_strictness
==
HeadStrict
)
PD_FromToS
if (head_strictness==HeadStrict) PD_FromToSTS
(
if
(
head_strictness
==
HeadUnboxed
)
PD_FromToU
(if (head_strictness==HeadUnboxed) PD_FromToUTS
(
if
(
head_strictness
==
HeadOverloaded
)
PD_FromToO
PD_FromToTS)
PD_FromTo
))
-> (PE_Sequ (SQ_FromTo pd_from_to_index e exp), pState)
-> (PE_Sequ (SQ_FromTo pd_from_to_index e exp), pState)
[e2,e1]
[e2,e1]
# pd_from_then_to_index =
# pd_from_then_to_index =
...
...
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