Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
curry
curry-frontend
Commits
0c9e26c9
Commit
0c9e26c9
authored
May 17, 2011
by
Björn Peemöller
Browse files
Html: Missing imports added
parent
869c3a2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Html/SyntaxColoring.hs
View file @
0c9e26c9
...
...
@@ -6,15 +6,15 @@ module Html.SyntaxColoring
import
Data.Char
hiding
(
Space
)
import
Data.Function
(
on
)
import
Data.Maybe
()
import
Data.List
()
import
Debug.Trace
()
import
Data.Maybe
(
fromMaybe
,
mapMaybe
)
import
Data.List
(
intersperse
,
nubBy
,
partition
)
import
Debug.Trace
(
trace
)
import
Curry.Base.Ident
import
Curry.Base.Position
import
Curry.Base.MessageMonad
import
Curry.Syntax
hiding
(
infixOp
)
import
Curry.Syntax.Lexer
()
import
Curry.Syntax.Lexer
debug
::
Bool
debug
=
False
-- mergen von Token und Codes
...
...
@@ -762,6 +762,7 @@ token2string (Token NestedComment (StringAttributes sv _)) = sv
token2string
(
Token
NestedComment
a
)
=
attributes2string
a
token2string
(
Token
LeftBraceSemicolon
_
)
=
"{;"
token2string
(
Token
Binds
_
)
=
":="
token2string
(
Token
Pragma
a
)
=
"{-#"
++
attributes2string
a
++
"#-}"
attributes2string
::
Attributes
->
[
Char
]
attributes2string
NoAttributes
=
""
...
...
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