1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00

Sort Syntax in JSON parser

This commit is contained in:
joshvera 2017-07-20 11:04:13 -04:00
parent 83e816b04f
commit 00205c3d26

View File

@ -18,17 +18,17 @@ import GHC.Stack
import Prologue hiding (Location)
type Syntax =
'[ Literal.Hash
, Literal.KeyValue
, Literal.Null
, Literal.String
, Literal.TextElement
, Syntax.Error
, Literal.Array
, Literal.Boolean
, Literal.Float
, []
]
[ Literal.Array
, Literal.Boolean
, Literal.Hash
, Literal.Float
, Literal.KeyValue
, Literal.Null
, Literal.String
, Literal.TextElement
, Syntax.Error
, []
]
type Term = Term.Term (Union Syntax) (Record Location)
type Assignment = HasCallStack => Assignment.Assignment (AST Grammar) Grammar Term