From ecc1c075a686fd97e33a81e56c3eaeda06ca821c Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Thu, 6 Apr 2017 09:39:44 -0400 Subject: [PATCH] Ruby can contain identifiers. --- src/Language/Ruby/Syntax.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Language/Ruby/Syntax.hs b/src/Language/Ruby/Syntax.hs index 05702ccb6..896d3e52c 100644 --- a/src/Language/Ruby/Syntax.hs +++ b/src/Language/Ruby/Syntax.hs @@ -3,6 +3,7 @@ module Language.Ruby.Syntax where import Control.Monad.Free.Freer import Data.Functor.Union +import qualified Data.Syntax as Syntax import qualified Data.Syntax.Comment as Comment import qualified Data.Syntax.Declaration as Declaration import qualified Data.Syntax.Literal as Literal @@ -18,6 +19,7 @@ type Syntax = Union , Statement.If , Statement.Return , Statement.Yield + , Syntax.Identifier ] -- | Assignment from an AST with some set of 'symbol's onto some other value.