Skip to content

Commit 27cc03f

Browse files
committed
Drop dependency on Compat.
As only julia-0.6 is supported now, Compat is not needed.
1 parent 9d1e728 commit 27cc03f

File tree

5 files changed

+6
-9
lines changed

5 files changed

+6
-9
lines changed

REQUIRE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
julia 0.6
2-
Compat 0.33

src/FortranFiles.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ __precompile__()
22

33
module FortranFiles
44

5-
using Compat
6-
75
export FortranFile, rewind
86
export RECMRK4B, RECMRK8B
97
export FString, trimstring, trimlen, trim

src/types.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import Base: show
22

3-
@compat abstract type AccessMode end
4-
@compat abstract type RecordMarkerType end
5-
@compat abstract type Record<:IO end
3+
abstract type AccessMode end
4+
abstract type RecordMarkerType end
5+
abstract type Record<:IO end
66

77

88
struct SequentialAccess{RT<:RecordMarkerType} <: AccessMode

test/codegen/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RANDOMOBJ := $(RANDOMEXT:%=random%.o)
1010
GENDATASEQOBJ := $(RANDOMOBJ) randutil.o gendataseq$(SUFFIX).o
1111
GENDATADIRECTOBJ := $(RANDOMOBJ) randutil.o gendatadirect$(SUFFIX).o
1212

13-
JGENSRC := jwrite.jl jread.jl jskip.jl
13+
JGENSRC := jwrite.jl jread.jl jskip.jl jfread.jl
1414
FGENSRC := fdecl.f90 fwrite.f90
1515

1616
gendataseq: gendataseq$(SUFFIX).x

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using FortranFiles
2-
using Compat.Test
3-
using Compat.Iterators: product
2+
using Base.Test
3+
using Base.Iterators: product
44

55
import FortranFiles: RecordMarkerType, AccessMode, SequentialAccess, DirectAccess
66

0 commit comments

Comments
 (0)