Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
b5c71bff
Commit
b5c71bff
authored
May 25, 2000
by
simonmar
Browse files
[project @ 2000-05-25 10:40:39 by simonmar]
Add missing case in parsing of inline pragmas.
parent
b537743d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/rename/ParseIface.y
View file @
b5c71bff
...
...
@@ -681,6 +681,7 @@ id_info_item :: { HsIdInfo RdrName }
inline_prag
::
{
InlinePragInfo
}
:
{-
empty
-}
{
NoInlinePragInfo
}
|
'['
INTEGER
']'
{
IMustNotBeINLINEd
True
(
Just
(
fromInteger
$
2
))
}
--
INLINE
n
|
'['
'!'
']'
{
IMustNotBeINLINEd
True
Nothing
}
--
NOTINLINE
|
'['
'!'
INTEGER
']'
{
IMustNotBeINLINEd
False
(
Just
(
fromInteger
$
3
))
}
--
NOINLINE
n
-------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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