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-and-itasks
clean-sapl
Commits
771ec158
Verified
Commit
771ec158
authored
Jun 19, 2018
by
Camil Staps
Browse files
Don't generate duplicate code (e.g. tuples; 'use strict')
parent
50550928
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/saplcg.icl
View file @
771ec158
...
...
@@ -60,7 +60,7 @@ Start w
|
any
isNothing
files
=
error
Nothing
"Parsing failed"
w
#
(
out
,
w
)
=
stdio
w
#
(
out
,_,
w
)
=
seqSt
(
genCode
opts
)
[
f
\\
Just
f
<-
files
]
(
out
,
pst
,
w
)
#
(
out
,_,
w
)
=
genCode
opts
(
join
"
\n
"
[
f
\\
Just
f
<-
files
]
)
(
out
,
pst
,
w
)
#
(_,
w
)
=
fclose
out
w
=
w
...
...
Write
Preview
Markdown
is supported
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