File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ import c from "./grammars/c"
7
7
import coffeescript from "./grammars/coffeescript"
8
8
import database from "./grammars/database"
9
9
import doc from "./grammars/doc"
10
- import * as fortran from "./grammars/fortran"
11
10
import * as haskell from "./grammars/haskell"
11
+ import fortran from "./grammars/fortran"
12
12
import * as java from "./grammars/java"
13
13
import * as js from "./grammars/javascript"
14
14
import lisp from "./grammars/lisp"
Original file line number Diff line number Diff line change 1
1
"use babel"
2
2
3
- import path from "path"
4
3
import GrammarUtils from "../grammar-utils"
5
4
const { command } = GrammarUtils
6
5
7
- exports [ "Fortran - Fixed Form" ] = {
6
+ const FortranFixedForm = {
8
7
"File Based" : {
9
8
command,
10
9
args ( { filepath } ) {
@@ -13,7 +12,7 @@ exports["Fortran - Fixed Form"] = {
13
12
} ,
14
13
} ,
15
14
}
16
- exports [ "Fortran - Free Form" ] = {
15
+ const FortranFreeForm = {
17
16
"File Based" : {
18
17
command,
19
18
args ( { filepath } ) {
@@ -22,5 +21,14 @@ exports["Fortran - Free Form"] = {
22
21
} ,
23
22
} ,
24
23
}
25
- exports [ "Fortran - Modern" ] = exports [ "Fortran - Free Form" ]
26
- exports [ "Fortran - Punchcard" ] = exports [ "Fortran - Fixed Form" ]
24
+ const FortranModern = FortranFreeForm
25
+ const FortranPunchcard = FortranFixedForm
26
+
27
+ const Fortran = {
28
+ "Fortran" : FortranModern ,
29
+ "Fortran - Fixed Form" : FortranFixedForm ,
30
+ "Fortran - Free Form" : FortranFreeForm ,
31
+ "Fortran - Modern" : FortranModern ,
32
+ "Fortran - Punchcard" : FortranPunchcard ,
33
+ }
34
+ export default Fortran
You can’t perform that action at this time.
0 commit comments