Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
2c4b58d9
Commit
2c4b58d9
authored
Aug 04, 2007
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename Opt_FFI to Opt_ForeignFunctionInterface to match the language name
parent
858269e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
compiler/main/DynFlags.hs
compiler/main/DynFlags.hs
+5
-5
compiler/parser/Lexer.x
compiler/parser/Lexer.x
+1
-1
No files found.
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_FFI
,
Opt_ForeignFunctionInterface
,
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
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