Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
2c4b58d9
Commit
2c4b58d9
authored
Aug 04, 2007
by
Ian Lynagh
Browse files
Rename Opt_FFI to Opt_ForeignFunctionInterface to match the language name
parent
858269e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
compiler/main/DynFlags.hs
View file @
2c4b58d9
...
...
@@ -166,7 +166,7 @@ data DynFlag
|
Opt_MonomorphismRestriction
|
Opt_MonoPatBinds
|
Opt_ExtendedDefaultRules
-- Use GHC's extended rules for defaulting
|
Opt_F
FI
|
Opt_F
oreignFunctionInterface
|
Opt_UnliftedFFITypes
|
Opt_PArr
-- Syntactic support for parallel arrays
|
Opt_Arrows
-- Arrow-notation syntax
...
...
@@ -1138,9 +1138,9 @@ fFlags = [
-- Deprecated in favour of -XTemplateHaskell:
(
"th"
,
Opt_TH
),
-- Deprecated in favour of -XForeignFunctionInterface:
(
"fi"
,
Opt_F
FI
),
(
"fi"
,
Opt_F
oreignFunctionInterface
),
-- Deprecated in favour of -XForeignFunctionInterface:
(
"ffi"
,
Opt_F
FI
),
(
"ffi"
,
Opt_F
oreignFunctionInterface
),
-- Deprecated in favour of -XArrows:
(
"arrows"
,
Opt_Arrows
),
-- Deprecated in favour of -XGenerics:
...
...
@@ -1181,7 +1181,7 @@ xFlags = [
(
"PatternSignatures"
,
Opt_PatternSignatures
),
(
"EmptyDataDecls"
,
Opt_EmptyDataDecls
),
(
"ParallelListComp"
,
Opt_ParallelListComp
),
(
"ForeignFunctionInterface"
,
Opt_F
FI
),
(
"ForeignFunctionInterface"
,
Opt_F
oreignFunctionInterface
),
(
"UnliftedFFITypes"
,
Opt_UnliftedFFITypes
),
(
"PartiallyAppliedClosedTypeSynonyms"
,
Opt_PartiallyAppliedClosedTypeSynonyms
),
...
...
@@ -1232,7 +1232,7 @@ impliedFlags = [
glasgowExtsFlags
=
[
Opt_PrintExplicitForalls
,
Opt_F
FI
,
Opt_F
oreignFunctionInterface
,
Opt_UnliftedFFITypes
,
Opt_GADTs
,
Opt_ImplicitParams
...
...
compiler/parser/Lexer.x
View file @
2c4b58d9
...
...
@@ -1560,7 +1560,7 @@ mkPState buf loc flags =
}
where
bitmap = genericsBit `setBitIf` dopt Opt_Generics flags
.|. ffiBit `setBitIf` dopt Opt_F
FI
flags
.|. ffiBit `setBitIf` dopt Opt_F
oreignFunctionInterface
flags
.|. parrBit `setBitIf` dopt Opt_PArr flags
.|. arrowsBit `setBitIf` dopt Opt_Arrows flags
.|. thBit `setBitIf` dopt Opt_TH flags
...
...
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