Skip to content

Commit

Permalink
Merge pull request JuliaIO#27 from JeffBezanson/master
Browse files Browse the repository at this point in the history
add const, use Any instead of a large type Union
  • Loading branch information
JeffBezanson committed May 22, 2013
2 parents eb376ab + 38447c6 commit b8f9f32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Parser.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
module Parser

# Types it may encounter
TYPES = Union(Dict, Array, String, Number, Bool, Nothing)
const TYPES = Any # Union(Dict, Array, String, Number, Bool, Nothing)
# Types it may encounter as object keys
KEY_TYPES = Union(String)
const KEY_TYPES = Union(String)

export parse

Expand Down

0 comments on commit b8f9f32

Please sign in to comment.