Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
18abf62a
Commit
18abf62a
authored
Jun 13, 2007
by
nominolo@gmail.com
Browse files
add flag as a section
parent
eb8574b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Distribution/ParseUtils.hs
View file @
18abf62a
...
...
@@ -190,7 +190,7 @@ data Field = F LineNo String String
-- sectionname ::= "library" | "executable"
sectionNames
::
[
String
]
sectionNames
=
[
"library"
,
"executable
:
"
]
sectionNames
=
[
"library"
,
"executable
"
,
"flag
"
]
-- |Split a file into "Field: value" groups
readFields
::
String
->
ParseResult
[
Field
]
...
...
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