From 432474b8c55cc451b12d1530abe32fc86778aaf4 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Wed, 5 Apr 2017 16:00:43 -0400 Subject: [PATCH] Add true/false to the grammar. --- src/Language/Ruby/Syntax.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Language/Ruby/Syntax.hs b/src/Language/Ruby/Syntax.hs index ac0432274..a4d3273e8 100644 --- a/src/Language/Ruby/Syntax.hs +++ b/src/Language/Ruby/Syntax.hs @@ -39,7 +39,7 @@ type Program = Freer -- | Statically-known rules corresponding to symbols in the grammar. -data Grammar = Program | Uninterpreted | BeginBlock | EndBlock | Undef | Alias | Comment +data Grammar = Program | Uninterpreted | BeginBlock | EndBlock | Undef | Alias | Comment | True' | False' deriving (Enum, Eq, Ord, Show) -- | Assignment from AST in Ruby’s grammar onto a program in Ruby’s syntax.