packages feed

BNFC-meta-0.1: Language/LBNF/ParBNF.hs

{-# OPTIONS_GHC -fno-warn-overlapping-patterns #-}
{-# OPTIONS -fno-warn-incomplete-patterns -fno-warn-overlapping-patterns #-}
module Language.LBNF.ParBNF where
import Language.LBNF.AbsBNF
import Language.LBNF.LexBNF
import Language.LBNF.ErrM

-- parser produced by Happy Version 1.18.5

data HappyAbsSyn 
	= HappyTerminal (Token)
	| HappyErrorToken Int
	| HappyAbsSyn38 (String)
	| HappyAbsSyn39 (Ident)
	| HappyAbsSyn40 (Integer)
	| HappyAbsSyn41 (Char)
	| HappyAbsSyn42 (Double)
	| HappyAbsSyn43 (LGrammar)
	| HappyAbsSyn44 (LDef)
	| HappyAbsSyn45 ([LDef])
	| HappyAbsSyn46 (Grammar)
	| HappyAbsSyn47 ([Def])
	| HappyAbsSyn48 ([Item])
	| HappyAbsSyn49 (Def)
	| HappyAbsSyn50 (Item)
	| HappyAbsSyn51 (Cat)
	| HappyAbsSyn52 (Label)
	| HappyAbsSyn53 (LabelId)
	| HappyAbsSyn54 (ProfItem)
	| HappyAbsSyn55 (IntList)
	| HappyAbsSyn56 ([Integer])
	| HappyAbsSyn57 ([IntList])
	| HappyAbsSyn58 ([ProfItem])
	| HappyAbsSyn59 (HsTyp)
	| HappyAbsSyn61 ([HsTyp])
	| HappyAbsSyn62 (Arg)
	| HappyAbsSyn63 ([Arg])
	| HappyAbsSyn64 (Exp)
	| HappyAbsSyn67 ([Exp])
	| HappyAbsSyn69 ([String])
	| HappyAbsSyn70 ([RHS])
	| HappyAbsSyn71 (RHS)
	| HappyAbsSyn72 (MinimumSize)
	| HappyAbsSyn73 (Reg)
	| HappyAbsSyn77 ([Ident])

{- to allow type-synonyms as our monads (likely
 - with explicitly-specified bind and return)
 - in Haskell98, it seems that with
 - /type M a = .../, then /(HappyReduction M)/
 - is not allowed.  But Happy is a
 - code-generator that can just substitute it.
type HappyReduction m = 
	   Int 
	-> (Token)
	-> HappyState (Token) (HappyStk HappyAbsSyn -> [(Token)] -> m HappyAbsSyn)
	-> [HappyState (Token) (HappyStk HappyAbsSyn -> [(Token)] -> m HappyAbsSyn)] 
	-> HappyStk HappyAbsSyn 
	-> [(Token)] -> m HappyAbsSyn
-}

action_0,
 action_1,
 action_2,
 action_3,
 action_4,
 action_5,
 action_6,
 action_7,
 action_8,
 action_9,
 action_10,
 action_11,
 action_12,
 action_13,
 action_14,
 action_15,
 action_16,
 action_17,
 action_18,
 action_19,
 action_20,
 action_21,
 action_22,
 action_23,
 action_24,
 action_25,
 action_26,
 action_27,
 action_28,
 action_29,
 action_30,
 action_31,
 action_32,
 action_33,
 action_34,
 action_35,
 action_36,
 action_37,
 action_38,
 action_39,
 action_40,
 action_41,
 action_42,
 action_43,
 action_44,
 action_45,
 action_46,
 action_47,
 action_48,
 action_49,
 action_50,
 action_51,
 action_52,
 action_53,
 action_54,
 action_55,
 action_56,
 action_57,
 action_58,
 action_59,
 action_60,
 action_61,
 action_62,
 action_63,
 action_64,
 action_65,
 action_66,
 action_67,
 action_68,
 action_69,
 action_70,
 action_71,
 action_72,
 action_73,
 action_74,
 action_75,
 action_76,
 action_77,
 action_78,
 action_79,
 action_80,
 action_81,
 action_82,
 action_83,
 action_84,
 action_85,
 action_86,
 action_87,
 action_88,
 action_89,
 action_90,
 action_91,
 action_92,
 action_93,
 action_94,
 action_95,
 action_96,
 action_97,
 action_98,
 action_99,
 action_100,
 action_101,
 action_102,
 action_103,
 action_104,
 action_105,
 action_106,
 action_107,
 action_108,
 action_109,
 action_110,
 action_111,
 action_112,
 action_113,
 action_114,
 action_115,
 action_116,
 action_117,
 action_118,
 action_119,
 action_120,
 action_121,
 action_122,
 action_123,
 action_124,
 action_125,
 action_126,
 action_127,
 action_128,
 action_129,
 action_130,
 action_131,
 action_132,
 action_133,
 action_134,
 action_135,
 action_136,
 action_137,
 action_138,
 action_139,
 action_140,
 action_141,
 action_142,
 action_143,
 action_144,
 action_145,
 action_146,
 action_147,
 action_148,
 action_149,
 action_150,
 action_151,
 action_152,
 action_153,
 action_154,
 action_155,
 action_156,
 action_157,
 action_158,
 action_159,
 action_160,
 action_161,
 action_162,
 action_163,
 action_164,
 action_165,
 action_166,
 action_167,
 action_168,
 action_169,
 action_170,
 action_171,
 action_172,
 action_173,
 action_174,
 action_175,
 action_176,
 action_177,
 action_178,
 action_179,
 action_180,
 action_181,
 action_182,
 action_183,
 action_184,
 action_185,
 action_186,
 action_187,
 action_188,
 action_189,
 action_190,
 action_191,
 action_192,
 action_193,
 action_194,
 action_195,
 action_196,
 action_197,
 action_198,
 action_199,
 action_200,
 action_201,
 action_202,
 action_203,
 action_204,
 action_205,
 action_206,
 action_207,
 action_208,
 action_209,
 action_210,
 action_211,
 action_212,
 action_213,
 action_214,
 action_215,
 action_216,
 action_217,
 action_218,
 action_219,
 action_220,
 action_221,
 action_222,
 action_223,
 action_224,
 action_225,
 action_226,
 action_227,
 action_228,
 action_229,
 action_230,
 action_231,
 action_232,
 action_233,
 action_234,
 action_235,
 action_236,
 action_237,
 action_238,
 action_239,
 action_240,
 action_241,
 action_242,
 action_243,
 action_244,
 action_245,
 action_246,
 action_247,
 action_248,
 action_249,
 action_250,
 action_251,
 action_252,
 action_253,
 action_254,
 action_255,
 action_256,
 action_257,
 action_258,
 action_259,
 action_260,
 action_261,
 action_262 :: () => Int -> ({-HappyReduction (Err) = -}
	   Int 
	-> (Token)
	-> HappyState (Token) (HappyStk HappyAbsSyn -> [(Token)] -> (Err) HappyAbsSyn)
	-> [HappyState (Token) (HappyStk HappyAbsSyn -> [(Token)] -> (Err) HappyAbsSyn)] 
	-> HappyStk HappyAbsSyn 
	-> [(Token)] -> (Err) HappyAbsSyn)

happyReduce_35,
 happyReduce_36,
 happyReduce_37,
 happyReduce_38,
 happyReduce_39,
 happyReduce_40,
 happyReduce_41,
 happyReduce_42,
 happyReduce_43,
 happyReduce_44,
 happyReduce_45,
 happyReduce_46,
 happyReduce_47,
 happyReduce_48,
 happyReduce_49,
 happyReduce_50,
 happyReduce_51,
 happyReduce_52,
 happyReduce_53,
 happyReduce_54,
 happyReduce_55,
 happyReduce_56,
 happyReduce_57,
 happyReduce_58,
 happyReduce_59,
 happyReduce_60,
 happyReduce_61,
 happyReduce_62,
 happyReduce_63,
 happyReduce_64,
 happyReduce_65,
 happyReduce_66,
 happyReduce_67,
 happyReduce_68,
 happyReduce_69,
 happyReduce_70,
 happyReduce_71,
 happyReduce_72,
 happyReduce_73,
 happyReduce_74,
 happyReduce_75,
 happyReduce_76,
 happyReduce_77,
 happyReduce_78,
 happyReduce_79,
 happyReduce_80,
 happyReduce_81,
 happyReduce_82,
 happyReduce_83,
 happyReduce_84,
 happyReduce_85,
 happyReduce_86,
 happyReduce_87,
 happyReduce_88,
 happyReduce_89,
 happyReduce_90,
 happyReduce_91,
 happyReduce_92,
 happyReduce_93,
 happyReduce_94,
 happyReduce_95,
 happyReduce_96,
 happyReduce_97,
 happyReduce_98,
 happyReduce_99,
 happyReduce_100,
 happyReduce_101,
 happyReduce_102,
 happyReduce_103,
 happyReduce_104,
 happyReduce_105,
 happyReduce_106,
 happyReduce_107,
 happyReduce_108,
 happyReduce_109,
 happyReduce_110,
 happyReduce_111,
 happyReduce_112,
 happyReduce_113,
 happyReduce_114,
 happyReduce_115,
 happyReduce_116,
 happyReduce_117,
 happyReduce_118,
 happyReduce_119,
 happyReduce_120,
 happyReduce_121,
 happyReduce_122,
 happyReduce_123,
 happyReduce_124,
 happyReduce_125,
 happyReduce_126,
 happyReduce_127,
 happyReduce_128,
 happyReduce_129,
 happyReduce_130,
 happyReduce_131,
 happyReduce_132,
 happyReduce_133,
 happyReduce_134,
 happyReduce_135,
 happyReduce_136,
 happyReduce_137,
 happyReduce_138,
 happyReduce_139,
 happyReduce_140,
 happyReduce_141,
 happyReduce_142,
 happyReduce_143,
 happyReduce_144,
 happyReduce_145,
 happyReduce_146 :: () => ({-HappyReduction (Err) = -}
	   Int 
	-> (Token)
	-> HappyState (Token) (HappyStk HappyAbsSyn -> [(Token)] -> (Err) HappyAbsSyn)
	-> [HappyState (Token) (HappyStk HappyAbsSyn -> [(Token)] -> (Err) HappyAbsSyn)] 
	-> HappyStk HappyAbsSyn 
	-> [(Token)] -> (Err) HappyAbsSyn)

action_0 (82) = happyShift action_107
action_0 (84) = happyShift action_108
action_0 (85) = happyShift action_109
action_0 (87) = happyShift action_110
action_0 (97) = happyShift action_121
action_0 (99) = happyShift action_122
action_0 (100) = happyShift action_123
action_0 (101) = happyShift action_124
action_0 (103) = happyShift action_125
action_0 (105) = happyShift action_126
action_0 (106) = happyShift action_127
action_0 (107) = happyShift action_128
action_0 (111) = happyShift action_129
action_0 (112) = happyShift action_130
action_0 (113) = happyShift action_131
action_0 (115) = happyShift action_132
action_0 (116) = happyShift action_133
action_0 (119) = happyShift action_144
action_0 (121) = happyShift action_39
action_0 (39) = happyGoto action_139
action_0 (43) = happyGoto action_146
action_0 (44) = happyGoto action_140
action_0 (45) = happyGoto action_147
action_0 (49) = happyGoto action_142
action_0 (52) = happyGoto action_120
action_0 (53) = happyGoto action_112
action_0 (77) = happyGoto action_143
action_0 _ = happyReduce_44

action_1 (82) = happyShift action_107
action_1 (84) = happyShift action_108
action_1 (85) = happyShift action_109
action_1 (87) = happyShift action_110
action_1 (97) = happyShift action_121
action_1 (99) = happyShift action_122
action_1 (100) = happyShift action_123
action_1 (101) = happyShift action_124
action_1 (103) = happyShift action_125
action_1 (105) = happyShift action_126
action_1 (106) = happyShift action_127
action_1 (107) = happyShift action_128
action_1 (111) = happyShift action_129
action_1 (112) = happyShift action_130
action_1 (113) = happyShift action_131
action_1 (115) = happyShift action_132
action_1 (116) = happyShift action_133
action_1 (119) = happyShift action_144
action_1 (121) = happyShift action_39
action_1 (39) = happyGoto action_139
action_1 (44) = happyGoto action_145
action_1 (49) = happyGoto action_142
action_1 (52) = happyGoto action_120
action_1 (53) = happyGoto action_112
action_1 (77) = happyGoto action_143
action_1 _ = happyFail

action_2 (82) = happyShift action_107
action_2 (84) = happyShift action_108
action_2 (85) = happyShift action_109
action_2 (87) = happyShift action_110
action_2 (97) = happyShift action_121
action_2 (99) = happyShift action_122
action_2 (100) = happyShift action_123
action_2 (101) = happyShift action_124
action_2 (103) = happyShift action_125
action_2 (105) = happyShift action_126
action_2 (106) = happyShift action_127
action_2 (107) = happyShift action_128
action_2 (111) = happyShift action_129
action_2 (112) = happyShift action_130
action_2 (113) = happyShift action_131
action_2 (115) = happyShift action_132
action_2 (116) = happyShift action_133
action_2 (119) = happyShift action_144
action_2 (121) = happyShift action_39
action_2 (39) = happyGoto action_139
action_2 (44) = happyGoto action_140
action_2 (45) = happyGoto action_141
action_2 (49) = happyGoto action_142
action_2 (52) = happyGoto action_120
action_2 (53) = happyGoto action_112
action_2 (77) = happyGoto action_143
action_2 _ = happyReduce_44

action_3 (82) = happyShift action_107
action_3 (84) = happyShift action_108
action_3 (85) = happyShift action_109
action_3 (87) = happyShift action_110
action_3 (97) = happyShift action_121
action_3 (99) = happyShift action_122
action_3 (100) = happyShift action_123
action_3 (101) = happyShift action_124
action_3 (103) = happyShift action_125
action_3 (105) = happyShift action_126
action_3 (106) = happyShift action_127
action_3 (107) = happyShift action_128
action_3 (111) = happyShift action_129
action_3 (112) = happyShift action_130
action_3 (113) = happyShift action_131
action_3 (115) = happyShift action_132
action_3 (116) = happyShift action_133
action_3 (121) = happyShift action_39
action_3 (39) = happyGoto action_105
action_3 (46) = happyGoto action_137
action_3 (47) = happyGoto action_138
action_3 (49) = happyGoto action_136
action_3 (52) = happyGoto action_120
action_3 (53) = happyGoto action_112
action_3 _ = happyReduce_48

action_4 (82) = happyShift action_107
action_4 (84) = happyShift action_108
action_4 (85) = happyShift action_109
action_4 (87) = happyShift action_110
action_4 (97) = happyShift action_121
action_4 (99) = happyShift action_122
action_4 (100) = happyShift action_123
action_4 (101) = happyShift action_124
action_4 (103) = happyShift action_125
action_4 (105) = happyShift action_126
action_4 (106) = happyShift action_127
action_4 (107) = happyShift action_128
action_4 (111) = happyShift action_129
action_4 (112) = happyShift action_130
action_4 (113) = happyShift action_131
action_4 (115) = happyShift action_132
action_4 (116) = happyShift action_133
action_4 (121) = happyShift action_39
action_4 (39) = happyGoto action_105
action_4 (47) = happyGoto action_135
action_4 (49) = happyGoto action_136
action_4 (52) = happyGoto action_120
action_4 (53) = happyGoto action_112
action_4 _ = happyReduce_48

action_5 (48) = happyGoto action_134
action_5 _ = happyReduce_51

action_6 (82) = happyShift action_107
action_6 (84) = happyShift action_108
action_6 (85) = happyShift action_109
action_6 (87) = happyShift action_110
action_6 (97) = happyShift action_121
action_6 (99) = happyShift action_122
action_6 (100) = happyShift action_123
action_6 (101) = happyShift action_124
action_6 (103) = happyShift action_125
action_6 (105) = happyShift action_126
action_6 (106) = happyShift action_127
action_6 (107) = happyShift action_128
action_6 (111) = happyShift action_129
action_6 (112) = happyShift action_130
action_6 (113) = happyShift action_131
action_6 (115) = happyShift action_132
action_6 (116) = happyShift action_133
action_6 (121) = happyShift action_39
action_6 (39) = happyGoto action_105
action_6 (49) = happyGoto action_119
action_6 (52) = happyGoto action_120
action_6 (53) = happyGoto action_112
action_6 _ = happyFail

action_7 (82) = happyShift action_115
action_7 (120) = happyShift action_36
action_7 (121) = happyShift action_39
action_7 (38) = happyGoto action_116
action_7 (39) = happyGoto action_113
action_7 (50) = happyGoto action_117
action_7 (51) = happyGoto action_118
action_7 _ = happyFail

action_8 (82) = happyShift action_115
action_8 (121) = happyShift action_39
action_8 (39) = happyGoto action_113
action_8 (51) = happyGoto action_114
action_8 _ = happyFail

action_9 (82) = happyShift action_107
action_9 (84) = happyShift action_108
action_9 (85) = happyShift action_109
action_9 (87) = happyShift action_110
action_9 (121) = happyShift action_39
action_9 (39) = happyGoto action_105
action_9 (52) = happyGoto action_111
action_9 (53) = happyGoto action_112
action_9 _ = happyFail

action_10 (82) = happyShift action_107
action_10 (84) = happyShift action_108
action_10 (85) = happyShift action_109
action_10 (87) = happyShift action_110
action_10 (121) = happyShift action_39
action_10 (39) = happyGoto action_105
action_10 (53) = happyGoto action_106
action_10 _ = happyFail

action_11 (85) = happyShift action_97
action_11 (54) = happyGoto action_104
action_11 _ = happyFail

action_12 (82) = happyShift action_100
action_12 (55) = happyGoto action_103
action_12 _ = happyFail

action_13 (122) = happyShift action_77
action_13 (40) = happyGoto action_101
action_13 (56) = happyGoto action_102
action_13 _ = happyReduce_86

action_14 (82) = happyShift action_100
action_14 (55) = happyGoto action_98
action_14 (57) = happyGoto action_99
action_14 _ = happyReduce_89

action_15 (85) = happyShift action_97
action_15 (54) = happyGoto action_95
action_15 (58) = happyGoto action_96
action_15 _ = happyFail

action_16 (59) = happyGoto action_94
action_16 _ = happyFail

action_17 (82) = happyShift action_92
action_17 (85) = happyShift action_93
action_17 (121) = happyShift action_39
action_17 (39) = happyGoto action_90
action_17 (60) = happyGoto action_91
action_17 _ = happyFail

action_18 (59) = happyGoto action_88
action_18 (61) = happyGoto action_89
action_18 _ = happyFail

action_19 (121) = happyShift action_39
action_19 (39) = happyGoto action_86
action_19 (62) = happyGoto action_87
action_19 _ = happyFail

action_20 (63) = happyGoto action_85
action_20 _ = happyReduce_101

action_21 (82) = happyShift action_75
action_21 (85) = happyShift action_76
action_21 (120) = happyShift action_36
action_21 (121) = happyShift action_39
action_21 (122) = happyShift action_77
action_21 (123) = happyShift action_54
action_21 (124) = happyShift action_78
action_21 (38) = happyGoto action_66
action_21 (39) = happyGoto action_67
action_21 (40) = happyGoto action_68
action_21 (41) = happyGoto action_69
action_21 (42) = happyGoto action_70
action_21 (64) = happyGoto action_84
action_21 (65) = happyGoto action_72
action_21 (66) = happyGoto action_73
action_21 _ = happyFail

action_22 (82) = happyShift action_75
action_22 (85) = happyShift action_76
action_22 (120) = happyShift action_36
action_22 (121) = happyShift action_39
action_22 (122) = happyShift action_77
action_22 (123) = happyShift action_54
action_22 (124) = happyShift action_78
action_22 (38) = happyGoto action_66
action_22 (39) = happyGoto action_67
action_22 (40) = happyGoto action_68
action_22 (41) = happyGoto action_69
action_22 (42) = happyGoto action_70
action_22 (65) = happyGoto action_83
action_22 (66) = happyGoto action_73
action_22 _ = happyFail

action_23 (82) = happyShift action_75
action_23 (85) = happyShift action_76
action_23 (120) = happyShift action_36
action_23 (121) = happyShift action_39
action_23 (122) = happyShift action_77
action_23 (123) = happyShift action_54
action_23 (124) = happyShift action_78
action_23 (38) = happyGoto action_66
action_23 (39) = happyGoto action_79
action_23 (40) = happyGoto action_68
action_23 (41) = happyGoto action_69
action_23 (42) = happyGoto action_70
action_23 (66) = happyGoto action_82
action_23 _ = happyFail

action_24 (82) = happyShift action_75
action_24 (85) = happyShift action_76
action_24 (120) = happyShift action_36
action_24 (121) = happyShift action_39
action_24 (122) = happyShift action_77
action_24 (123) = happyShift action_54
action_24 (124) = happyShift action_78
action_24 (38) = happyGoto action_66
action_24 (39) = happyGoto action_79
action_24 (40) = happyGoto action_68
action_24 (41) = happyGoto action_69
action_24 (42) = happyGoto action_70
action_24 (66) = happyGoto action_80
action_24 (67) = happyGoto action_81
action_24 _ = happyFail

action_25 (82) = happyShift action_75
action_25 (85) = happyShift action_76
action_25 (120) = happyShift action_36
action_25 (121) = happyShift action_39
action_25 (122) = happyShift action_77
action_25 (123) = happyShift action_54
action_25 (124) = happyShift action_78
action_25 (38) = happyGoto action_66
action_25 (39) = happyGoto action_67
action_25 (40) = happyGoto action_68
action_25 (41) = happyGoto action_69
action_25 (42) = happyGoto action_70
action_25 (64) = happyGoto action_71
action_25 (65) = happyGoto action_72
action_25 (66) = happyGoto action_73
action_25 (68) = happyGoto action_74
action_25 _ = happyReduce_116

action_26 (120) = happyShift action_36
action_26 (38) = happyGoto action_64
action_26 (69) = happyGoto action_65
action_26 _ = happyFail

action_27 (48) = happyGoto action_60
action_27 (70) = happyGoto action_62
action_27 (71) = happyGoto action_63
action_27 _ = happyReduce_51

action_28 (48) = happyGoto action_60
action_28 (71) = happyGoto action_61
action_28 _ = happyReduce_51

action_29 (110) = happyShift action_59
action_29 (72) = happyGoto action_58
action_29 _ = happyReduce_125

action_30 (82) = happyShift action_45
action_30 (85) = happyShift action_46
action_30 (95) = happyShift action_47
action_30 (98) = happyShift action_48
action_30 (102) = happyShift action_49
action_30 (104) = happyShift action_50
action_30 (108) = happyShift action_51
action_30 (109) = happyShift action_52
action_30 (118) = happyShift action_53
action_30 (123) = happyShift action_54
action_30 (41) = happyGoto action_40
action_30 (73) = happyGoto action_57
action_30 (75) = happyGoto action_43
action_30 _ = happyFail

action_31 (82) = happyShift action_45
action_31 (85) = happyShift action_46
action_31 (95) = happyShift action_47
action_31 (98) = happyShift action_48
action_31 (102) = happyShift action_49
action_31 (104) = happyShift action_50
action_31 (108) = happyShift action_51
action_31 (109) = happyShift action_52
action_31 (118) = happyShift action_53
action_31 (123) = happyShift action_54
action_31 (41) = happyGoto action_40
action_31 (73) = happyGoto action_41
action_31 (74) = happyGoto action_56
action_31 (75) = happyGoto action_43
action_31 _ = happyFail

action_32 (82) = happyShift action_45
action_32 (85) = happyShift action_46
action_32 (95) = happyShift action_47
action_32 (98) = happyShift action_48
action_32 (102) = happyShift action_49
action_32 (104) = happyShift action_50
action_32 (108) = happyShift action_51
action_32 (109) = happyShift action_52
action_32 (118) = happyShift action_53
action_32 (123) = happyShift action_54
action_32 (41) = happyGoto action_40
action_32 (75) = happyGoto action_55
action_32 _ = happyFail

action_33 (82) = happyShift action_45
action_33 (85) = happyShift action_46
action_33 (95) = happyShift action_47
action_33 (98) = happyShift action_48
action_33 (102) = happyShift action_49
action_33 (104) = happyShift action_50
action_33 (108) = happyShift action_51
action_33 (109) = happyShift action_52
action_33 (118) = happyShift action_53
action_33 (123) = happyShift action_54
action_33 (41) = happyGoto action_40
action_33 (73) = happyGoto action_41
action_33 (74) = happyGoto action_42
action_33 (75) = happyGoto action_43
action_33 (76) = happyGoto action_44
action_33 _ = happyFail

action_34 (121) = happyShift action_39
action_34 (39) = happyGoto action_37
action_34 (77) = happyGoto action_38
action_34 _ = happyFail

action_35 (120) = happyShift action_36
action_35 _ = happyFail

action_36 _ = happyReduce_35

action_37 (88) = happyShift action_151
action_37 _ = happyReduce_145

action_38 (126) = happyAccept
action_38 _ = happyFail

action_39 _ = happyReduce_36

action_40 _ = happyReduce_135

action_41 (82) = happyShift action_45
action_41 (85) = happyShift action_46
action_41 (91) = happyShift action_202
action_41 (95) = happyShift action_47
action_41 (98) = happyShift action_48
action_41 (102) = happyShift action_49
action_41 (104) = happyShift action_50
action_41 (108) = happyShift action_51
action_41 (109) = happyShift action_52
action_41 (118) = happyShift action_53
action_41 (123) = happyShift action_54
action_41 (41) = happyGoto action_40
action_41 (75) = happyGoto action_194
action_41 _ = happyReduce_130

action_42 (90) = happyShift action_195
action_42 _ = happyReduce_144

action_43 (92) = happyShift action_196
action_43 (93) = happyShift action_197
action_43 (94) = happyShift action_198
action_43 _ = happyReduce_127

action_44 (126) = happyAccept
action_44 _ = happyFail

action_45 (120) = happyShift action_36
action_45 (38) = happyGoto action_201
action_45 _ = happyFail

action_46 (82) = happyShift action_45
action_46 (85) = happyShift action_46
action_46 (95) = happyShift action_47
action_46 (98) = happyShift action_48
action_46 (102) = happyShift action_49
action_46 (104) = happyShift action_50
action_46 (108) = happyShift action_51
action_46 (109) = happyShift action_52
action_46 (118) = happyShift action_53
action_46 (123) = happyShift action_54
action_46 (41) = happyGoto action_40
action_46 (73) = happyGoto action_41
action_46 (74) = happyGoto action_42
action_46 (75) = happyGoto action_43
action_46 (76) = happyGoto action_200
action_46 _ = happyFail

action_47 (120) = happyShift action_36
action_47 (38) = happyGoto action_199
action_47 _ = happyFail

action_48 _ = happyReduce_142

action_49 _ = happyReduce_138

action_50 _ = happyReduce_134

action_51 _ = happyReduce_139

action_52 _ = happyReduce_141

action_53 _ = happyReduce_140

action_54 _ = happyReduce_38

action_55 (92) = happyShift action_196
action_55 (93) = happyShift action_197
action_55 (94) = happyShift action_198
action_55 (126) = happyAccept
action_55 _ = happyFail

action_56 (90) = happyShift action_195
action_56 (126) = happyAccept
action_56 _ = happyFail

action_57 (82) = happyShift action_45
action_57 (85) = happyShift action_46
action_57 (95) = happyShift action_47
action_57 (98) = happyShift action_48
action_57 (102) = happyShift action_49
action_57 (104) = happyShift action_50
action_57 (108) = happyShift action_51
action_57 (109) = happyShift action_52
action_57 (118) = happyShift action_53
action_57 (123) = happyShift action_54
action_57 (126) = happyAccept
action_57 (41) = happyGoto action_40
action_57 (75) = happyGoto action_194
action_57 _ = happyFail

action_58 (126) = happyAccept
action_58 _ = happyFail

action_59 _ = happyReduce_124

action_60 (82) = happyShift action_115
action_60 (120) = happyShift action_36
action_60 (121) = happyShift action_39
action_60 (38) = happyGoto action_116
action_60 (39) = happyGoto action_113
action_60 (50) = happyGoto action_153
action_60 (51) = happyGoto action_118
action_60 _ = happyReduce_123

action_61 (126) = happyAccept
action_61 _ = happyFail

action_62 (126) = happyAccept
action_62 _ = happyFail

action_63 (90) = happyShift action_193
action_63 _ = happyReduce_121

action_64 (88) = happyShift action_192
action_64 _ = happyReduce_119

action_65 (126) = happyAccept
action_65 _ = happyFail

action_66 _ = happyReduce_110

action_67 (82) = happyShift action_75
action_67 (85) = happyShift action_76
action_67 (120) = happyShift action_36
action_67 (121) = happyShift action_39
action_67 (122) = happyShift action_77
action_67 (123) = happyShift action_54
action_67 (124) = happyShift action_78
action_67 (38) = happyGoto action_66
action_67 (39) = happyGoto action_79
action_67 (40) = happyGoto action_68
action_67 (41) = happyGoto action_69
action_67 (42) = happyGoto action_70
action_67 (66) = happyGoto action_80
action_67 (67) = happyGoto action_191
action_67 _ = happyReduce_107

action_68 _ = happyReduce_108

action_69 _ = happyReduce_109

action_70 _ = happyReduce_111

action_71 (88) = happyShift action_190
action_71 _ = happyReduce_117

action_72 (78) = happyShift action_189
action_72 _ = happyReduce_104

action_73 _ = happyReduce_106

action_74 (126) = happyAccept
action_74 _ = happyFail

action_75 (82) = happyShift action_75
action_75 (85) = happyShift action_76
action_75 (120) = happyShift action_36
action_75 (121) = happyShift action_39
action_75 (122) = happyShift action_77
action_75 (123) = happyShift action_54
action_75 (124) = happyShift action_78
action_75 (38) = happyGoto action_66
action_75 (39) = happyGoto action_67
action_75 (40) = happyGoto action_68
action_75 (41) = happyGoto action_69
action_75 (42) = happyGoto action_70
action_75 (64) = happyGoto action_71
action_75 (65) = happyGoto action_72
action_75 (66) = happyGoto action_73
action_75 (68) = happyGoto action_188
action_75 _ = happyReduce_116

action_76 (82) = happyShift action_75
action_76 (85) = happyShift action_76
action_76 (120) = happyShift action_36
action_76 (121) = happyShift action_39
action_76 (122) = happyShift action_77
action_76 (123) = happyShift action_54
action_76 (124) = happyShift action_78
action_76 (38) = happyGoto action_66
action_76 (39) = happyGoto action_67
action_76 (40) = happyGoto action_68
action_76 (41) = happyGoto action_69
action_76 (42) = happyGoto action_70
action_76 (64) = happyGoto action_187
action_76 (65) = happyGoto action_72
action_76 (66) = happyGoto action_73
action_76 _ = happyFail

action_77 _ = happyReduce_37

action_78 _ = happyReduce_39

action_79 _ = happyReduce_107

action_80 (82) = happyShift action_75
action_80 (85) = happyShift action_76
action_80 (120) = happyShift action_36
action_80 (121) = happyShift action_39
action_80 (122) = happyShift action_77
action_80 (123) = happyShift action_54
action_80 (124) = happyShift action_78
action_80 (38) = happyGoto action_66
action_80 (39) = happyGoto action_79
action_80 (40) = happyGoto action_68
action_80 (41) = happyGoto action_69
action_80 (42) = happyGoto action_70
action_80 (66) = happyGoto action_80
action_80 (67) = happyGoto action_186
action_80 _ = happyReduce_114

action_81 (126) = happyAccept
action_81 _ = happyFail

action_82 (126) = happyAccept
action_82 _ = happyFail

action_83 (126) = happyAccept
action_83 _ = happyFail

action_84 (126) = happyAccept
action_84 _ = happyFail

action_85 (121) = happyShift action_39
action_85 (126) = happyAccept
action_85 (39) = happyGoto action_86
action_85 (62) = happyGoto action_185
action_85 _ = happyFail

action_86 _ = happyReduce_100

action_87 (126) = happyAccept
action_87 _ = happyFail

action_88 (82) = happyShift action_92
action_88 (85) = happyShift action_93
action_88 (88) = happyShift action_184
action_88 (121) = happyShift action_39
action_88 (39) = happyGoto action_90
action_88 (60) = happyGoto action_181
action_88 _ = happyReduce_98

action_89 (126) = happyAccept
action_89 _ = happyFail

action_90 _ = happyReduce_95

action_91 (126) = happyAccept
action_91 _ = happyFail

action_92 (59) = happyGoto action_183
action_92 _ = happyFail

action_93 (59) = happyGoto action_88
action_93 (61) = happyGoto action_182
action_93 _ = happyFail

action_94 (82) = happyShift action_92
action_94 (85) = happyShift action_93
action_94 (121) = happyShift action_39
action_94 (126) = happyAccept
action_94 (39) = happyGoto action_90
action_94 (60) = happyGoto action_181
action_94 _ = happyFail

action_95 (85) = happyShift action_97
action_95 (54) = happyGoto action_95
action_95 (58) = happyGoto action_180
action_95 _ = happyReduce_92

action_96 (126) = happyAccept
action_96 _ = happyFail

action_97 (82) = happyShift action_179
action_97 _ = happyFail

action_98 (88) = happyShift action_178
action_98 _ = happyReduce_90

action_99 (126) = happyAccept
action_99 _ = happyFail

action_100 (122) = happyShift action_77
action_100 (40) = happyGoto action_101
action_100 (56) = happyGoto action_177
action_100 _ = happyReduce_86

action_101 (88) = happyShift action_176
action_101 _ = happyReduce_87

action_102 (126) = happyAccept
action_102 _ = happyFail

action_103 (126) = happyAccept
action_103 _ = happyFail

action_104 (126) = happyAccept
action_104 _ = happyFail

action_105 _ = happyReduce_78

action_106 (126) = happyAccept
action_106 _ = happyFail

action_107 (83) = happyShift action_175
action_107 _ = happyFail

action_108 _ = happyReduce_79

action_109 (78) = happyShift action_174
action_109 _ = happyFail

action_110 _ = happyReduce_83

action_111 (126) = happyAccept
action_111 _ = happyFail

action_112 (82) = happyShift action_107
action_112 (84) = happyShift action_108
action_112 (85) = happyShift action_173
action_112 (87) = happyShift action_110
action_112 (121) = happyShift action_39
action_112 (39) = happyGoto action_105
action_112 (53) = happyGoto action_171
action_112 (54) = happyGoto action_95
action_112 (58) = happyGoto action_172
action_112 _ = happyReduce_74

action_113 _ = happyReduce_73

action_114 (126) = happyAccept
action_114 _ = happyFail

action_115 (82) = happyShift action_115
action_115 (121) = happyShift action_39
action_115 (39) = happyGoto action_113
action_115 (51) = happyGoto action_170
action_115 _ = happyFail

action_116 _ = happyReduce_70

action_117 (126) = happyAccept
action_117 _ = happyFail

action_118 _ = happyReduce_71

action_119 (126) = happyAccept
action_119 _ = happyFail

action_120 (80) = happyShift action_169
action_120 _ = happyFail

action_121 (120) = happyShift action_36
action_121 (38) = happyGoto action_168
action_121 _ = happyFail

action_122 (121) = happyShift action_39
action_122 (39) = happyGoto action_167
action_122 _ = happyFail

action_123 (120) = happyShift action_36
action_123 (38) = happyGoto action_166
action_123 _ = happyFail

action_124 (121) = happyShift action_39
action_124 (39) = happyGoto action_165
action_124 _ = happyFail

action_125 (121) = happyShift action_39
action_125 (39) = happyGoto action_37
action_125 (77) = happyGoto action_164
action_125 _ = happyFail

action_126 (121) = happyShift action_39
action_126 (39) = happyGoto action_163
action_126 _ = happyFail

action_127 (82) = happyShift action_107
action_127 (84) = happyShift action_108
action_127 (85) = happyShift action_109
action_127 (87) = happyShift action_110
action_127 (121) = happyShift action_39
action_127 (39) = happyGoto action_105
action_127 (52) = happyGoto action_162
action_127 (53) = happyGoto action_112
action_127 _ = happyFail

action_128 (114) = happyShift action_160
action_128 (117) = happyShift action_161
action_128 (120) = happyShift action_36
action_128 (38) = happyGoto action_64
action_128 (69) = happyGoto action_159
action_128 _ = happyFail

action_129 (116) = happyShift action_158
action_129 _ = happyFail

action_130 (121) = happyShift action_39
action_130 (39) = happyGoto action_157
action_130 _ = happyFail

action_131 (110) = happyShift action_59
action_131 (72) = happyGoto action_156
action_131 _ = happyReduce_125

action_132 (110) = happyShift action_59
action_132 (72) = happyGoto action_155
action_132 _ = happyReduce_125

action_133 (121) = happyShift action_39
action_133 (39) = happyGoto action_154
action_133 _ = happyFail

action_134 (82) = happyShift action_115
action_134 (120) = happyShift action_36
action_134 (121) = happyShift action_39
action_134 (126) = happyAccept
action_134 (38) = happyGoto action_116
action_134 (39) = happyGoto action_113
action_134 (50) = happyGoto action_153
action_134 (51) = happyGoto action_118
action_134 _ = happyFail

action_135 (126) = happyAccept
action_135 _ = happyFail

action_136 (79) = happyShift action_152
action_136 _ = happyReduce_49

action_137 (126) = happyAccept
action_137 _ = happyFail

action_138 _ = happyReduce_47

action_139 (80) = happyReduce_78
action_139 (82) = happyReduce_78
action_139 (84) = happyReduce_78
action_139 (85) = happyReduce_78
action_139 (87) = happyReduce_78
action_139 (88) = happyShift action_151
action_139 (121) = happyReduce_78
action_139 _ = happyReduce_145

action_140 (79) = happyShift action_150
action_140 _ = happyReduce_45

action_141 (126) = happyAccept
action_141 _ = happyFail

action_142 _ = happyReduce_41

action_143 (78) = happyShift action_149
action_143 _ = happyFail

action_144 (121) = happyShift action_39
action_144 (39) = happyGoto action_37
action_144 (77) = happyGoto action_148
action_144 _ = happyFail

action_145 (126) = happyAccept
action_145 _ = happyFail

action_146 (126) = happyAccept
action_146 _ = happyFail

action_147 _ = happyReduce_40

action_148 _ = happyReduce_43

action_149 (82) = happyShift action_107
action_149 (84) = happyShift action_108
action_149 (85) = happyShift action_109
action_149 (87) = happyShift action_110
action_149 (97) = happyShift action_121
action_149 (99) = happyShift action_122
action_149 (100) = happyShift action_123
action_149 (101) = happyShift action_124
action_149 (103) = happyShift action_125
action_149 (105) = happyShift action_126
action_149 (106) = happyShift action_127
action_149 (107) = happyShift action_128
action_149 (111) = happyShift action_129
action_149 (112) = happyShift action_130
action_149 (113) = happyShift action_131
action_149 (115) = happyShift action_132
action_149 (116) = happyShift action_133
action_149 (121) = happyShift action_39
action_149 (39) = happyGoto action_105
action_149 (49) = happyGoto action_241
action_149 (52) = happyGoto action_120
action_149 (53) = happyGoto action_112
action_149 _ = happyFail

action_150 (82) = happyShift action_107
action_150 (84) = happyShift action_108
action_150 (85) = happyShift action_109
action_150 (87) = happyShift action_110
action_150 (97) = happyShift action_121
action_150 (99) = happyShift action_122
action_150 (100) = happyShift action_123
action_150 (101) = happyShift action_124
action_150 (103) = happyShift action_125
action_150 (105) = happyShift action_126
action_150 (106) = happyShift action_127
action_150 (107) = happyShift action_128
action_150 (111) = happyShift action_129
action_150 (112) = happyShift action_130
action_150 (113) = happyShift action_131
action_150 (115) = happyShift action_132
action_150 (116) = happyShift action_133
action_150 (119) = happyShift action_144
action_150 (121) = happyShift action_39
action_150 (39) = happyGoto action_139
action_150 (44) = happyGoto action_140
action_150 (45) = happyGoto action_240
action_150 (49) = happyGoto action_142
action_150 (52) = happyGoto action_120
action_150 (53) = happyGoto action_112
action_150 (77) = happyGoto action_143
action_150 _ = happyReduce_44

action_151 (121) = happyShift action_39
action_151 (39) = happyGoto action_37
action_151 (77) = happyGoto action_239
action_151 _ = happyFail

action_152 (82) = happyShift action_107
action_152 (84) = happyShift action_108
action_152 (85) = happyShift action_109
action_152 (87) = happyShift action_110
action_152 (97) = happyShift action_121
action_152 (99) = happyShift action_122
action_152 (100) = happyShift action_123
action_152 (101) = happyShift action_124
action_152 (103) = happyShift action_125
action_152 (105) = happyShift action_126
action_152 (106) = happyShift action_127
action_152 (107) = happyShift action_128
action_152 (111) = happyShift action_129
action_152 (112) = happyShift action_130
action_152 (113) = happyShift action_131
action_152 (115) = happyShift action_132
action_152 (116) = happyShift action_133
action_152 (121) = happyShift action_39
action_152 (39) = happyGoto action_105
action_152 (47) = happyGoto action_238
action_152 (49) = happyGoto action_136
action_152 (52) = happyGoto action_120
action_152 (53) = happyGoto action_112
action_152 _ = happyReduce_48

action_153 _ = happyReduce_52

action_154 (82) = happyShift action_45
action_154 (85) = happyShift action_46
action_154 (95) = happyShift action_47
action_154 (98) = happyShift action_48
action_154 (102) = happyShift action_49
action_154 (104) = happyShift action_50
action_154 (108) = happyShift action_51
action_154 (109) = happyShift action_52
action_154 (118) = happyShift action_53
action_154 (123) = happyShift action_54
action_154 (41) = happyGoto action_40
action_154 (73) = happyGoto action_41
action_154 (74) = happyGoto action_42
action_154 (75) = happyGoto action_43
action_154 (76) = happyGoto action_237
action_154 _ = happyFail

action_155 (82) = happyShift action_115
action_155 (121) = happyShift action_39
action_155 (39) = happyGoto action_113
action_155 (51) = happyGoto action_236
action_155 _ = happyFail

action_156 (82) = happyShift action_115
action_156 (121) = happyShift action_39
action_156 (39) = happyGoto action_113
action_156 (51) = happyGoto action_235
action_156 _ = happyFail

action_157 (81) = happyShift action_234
action_157 _ = happyFail

action_158 (121) = happyShift action_39
action_158 (39) = happyGoto action_233
action_158 _ = happyFail

action_159 _ = happyReduce_67

action_160 (120) = happyShift action_36
action_160 (38) = happyGoto action_64
action_160 (69) = happyGoto action_232
action_160 _ = happyFail

action_161 _ = happyReduce_69

action_162 (80) = happyShift action_231
action_162 _ = happyFail

action_163 (89) = happyShift action_230
action_163 _ = happyFail

action_164 _ = happyReduce_59

action_165 (63) = happyGoto action_229
action_165 _ = happyReduce_101

action_166 (120) = happyShift action_36
action_166 (38) = happyGoto action_228
action_166 _ = happyReduce_54

action_167 (122) = happyShift action_77
action_167 (40) = happyGoto action_227
action_167 _ = happyFail

action_168 (120) = happyShift action_36
action_168 (38) = happyGoto action_226
action_168 _ = happyFail

action_169 (82) = happyShift action_115
action_169 (121) = happyShift action_39
action_169 (39) = happyGoto action_113
action_169 (51) = happyGoto action_225
action_169 _ = happyFail

action_170 (83) = happyShift action_224
action_170 _ = happyFail

action_171 (85) = happyShift action_97
action_171 (54) = happyGoto action_95
action_171 (58) = happyGoto action_223
action_171 _ = happyReduce_77

action_172 _ = happyReduce_75

action_173 (78) = happyShift action_174
action_173 (82) = happyShift action_179
action_173 _ = happyFail

action_174 (82) = happyShift action_221
action_174 (86) = happyShift action_222
action_174 _ = happyFail

action_175 _ = happyReduce_80

action_176 (122) = happyShift action_77
action_176 (40) = happyGoto action_101
action_176 (56) = happyGoto action_220
action_176 _ = happyReduce_86

action_177 (83) = happyShift action_219
action_177 _ = happyFail

action_178 (82) = happyShift action_100
action_178 (55) = happyGoto action_98
action_178 (57) = happyGoto action_218
action_178 _ = happyReduce_89

action_179 (82) = happyShift action_100
action_179 (55) = happyGoto action_98
action_179 (57) = happyGoto action_217
action_179 _ = happyReduce_89

action_180 _ = happyReduce_93

action_181 _ = happyReduce_94

action_182 (86) = happyShift action_216
action_182 _ = happyFail

action_183 (82) = happyShift action_92
action_183 (83) = happyShift action_215
action_183 (85) = happyShift action_93
action_183 (121) = happyShift action_39
action_183 (39) = happyGoto action_90
action_183 (60) = happyGoto action_181
action_183 _ = happyFail

action_184 (59) = happyGoto action_88
action_184 (61) = happyGoto action_214
action_184 _ = happyFail

action_185 _ = happyReduce_102

action_186 _ = happyReduce_115

action_187 (86) = happyShift action_213
action_187 _ = happyFail

action_188 (83) = happyShift action_212
action_188 _ = happyFail

action_189 (82) = happyShift action_75
action_189 (85) = happyShift action_76
action_189 (120) = happyShift action_36
action_189 (121) = happyShift action_39
action_189 (122) = happyShift action_77
action_189 (123) = happyShift action_54
action_189 (124) = happyShift action_78
action_189 (38) = happyGoto action_66
action_189 (39) = happyGoto action_67
action_189 (40) = happyGoto action_68
action_189 (41) = happyGoto action_69
action_189 (42) = happyGoto action_70
action_189 (64) = happyGoto action_211
action_189 (65) = happyGoto action_72
action_189 (66) = happyGoto action_73
action_189 _ = happyFail

action_190 (82) = happyShift action_75
action_190 (85) = happyShift action_76
action_190 (120) = happyShift action_36
action_190 (121) = happyShift action_39
action_190 (122) = happyShift action_77
action_190 (123) = happyShift action_54
action_190 (124) = happyShift action_78
action_190 (38) = happyGoto action_66
action_190 (39) = happyGoto action_67
action_190 (40) = happyGoto action_68
action_190 (41) = happyGoto action_69
action_190 (42) = happyGoto action_70
action_190 (64) = happyGoto action_71
action_190 (65) = happyGoto action_72
action_190 (66) = happyGoto action_73
action_190 (68) = happyGoto action_210
action_190 _ = happyReduce_116

action_191 _ = happyReduce_105

action_192 (120) = happyShift action_36
action_192 (38) = happyGoto action_64
action_192 (69) = happyGoto action_209
action_192 _ = happyFail

action_193 (48) = happyGoto action_60
action_193 (70) = happyGoto action_208
action_193 (71) = happyGoto action_63
action_193 _ = happyReduce_51

action_194 (92) = happyShift action_196
action_194 (93) = happyShift action_197
action_194 (94) = happyShift action_198
action_194 _ = happyReduce_126

action_195 (82) = happyShift action_45
action_195 (85) = happyShift action_46
action_195 (95) = happyShift action_47
action_195 (98) = happyShift action_48
action_195 (102) = happyShift action_49
action_195 (104) = happyShift action_50
action_195 (108) = happyShift action_51
action_195 (109) = happyShift action_52
action_195 (118) = happyShift action_53
action_195 (123) = happyShift action_54
action_195 (41) = happyGoto action_40
action_195 (73) = happyGoto action_207
action_195 (75) = happyGoto action_43
action_195 _ = happyFail

action_196 _ = happyReduce_131

action_197 _ = happyReduce_132

action_198 _ = happyReduce_133

action_199 (96) = happyShift action_206
action_199 _ = happyFail

action_200 (86) = happyShift action_205
action_200 _ = happyFail

action_201 (83) = happyShift action_204
action_201 _ = happyFail

action_202 (82) = happyShift action_45
action_202 (85) = happyShift action_46
action_202 (95) = happyShift action_47
action_202 (98) = happyShift action_48
action_202 (102) = happyShift action_49
action_202 (104) = happyShift action_50
action_202 (108) = happyShift action_51
action_202 (109) = happyShift action_52
action_202 (118) = happyShift action_53
action_202 (123) = happyShift action_54
action_202 (41) = happyGoto action_40
action_202 (73) = happyGoto action_203
action_202 (75) = happyGoto action_43
action_202 _ = happyFail

action_203 (82) = happyShift action_45
action_203 (85) = happyShift action_46
action_203 (95) = happyShift action_47
action_203 (98) = happyShift action_48
action_203 (102) = happyShift action_49
action_203 (104) = happyShift action_50
action_203 (108) = happyShift action_51
action_203 (109) = happyShift action_52
action_203 (118) = happyShift action_53
action_203 (123) = happyShift action_54
action_203 (41) = happyGoto action_40
action_203 (75) = happyGoto action_194
action_203 _ = happyReduce_129

action_204 _ = happyReduce_136

action_205 _ = happyReduce_143

action_206 _ = happyReduce_137

action_207 (82) = happyShift action_45
action_207 (85) = happyShift action_46
action_207 (95) = happyShift action_47
action_207 (98) = happyShift action_48
action_207 (102) = happyShift action_49
action_207 (104) = happyShift action_50
action_207 (108) = happyShift action_51
action_207 (109) = happyShift action_52
action_207 (118) = happyShift action_53
action_207 (123) = happyShift action_54
action_207 (41) = happyGoto action_40
action_207 (75) = happyGoto action_194
action_207 _ = happyReduce_128

action_208 _ = happyReduce_122

action_209 _ = happyReduce_120

action_210 _ = happyReduce_118

action_211 _ = happyReduce_103

action_212 _ = happyReduce_112

action_213 _ = happyReduce_113

action_214 _ = happyReduce_99

action_215 _ = happyReduce_97

action_216 _ = happyReduce_96

action_217 (83) = happyShift action_252
action_217 _ = happyFail

action_218 _ = happyReduce_91

action_219 _ = happyReduce_85

action_220 _ = happyReduce_88

action_221 (83) = happyShift action_251
action_221 _ = happyFail

action_222 _ = happyReduce_81

action_223 _ = happyReduce_76

action_224 _ = happyReduce_72

action_225 (81) = happyShift action_250
action_225 _ = happyFail

action_226 (120) = happyShift action_36
action_226 (38) = happyGoto action_249
action_226 _ = happyFail

action_227 _ = happyReduce_62

action_228 _ = happyReduce_55

action_229 (89) = happyShift action_248
action_229 (121) = happyShift action_39
action_229 (39) = happyGoto action_86
action_229 (62) = happyGoto action_185
action_229 _ = happyFail

action_230 (59) = happyGoto action_247
action_230 _ = happyFail

action_231 (82) = happyShift action_115
action_231 (121) = happyShift action_39
action_231 (39) = happyGoto action_113
action_231 (51) = happyGoto action_246
action_231 _ = happyFail

action_232 _ = happyReduce_68

action_233 (82) = happyShift action_45
action_233 (85) = happyShift action_46
action_233 (95) = happyShift action_47
action_233 (98) = happyShift action_48
action_233 (102) = happyShift action_49
action_233 (104) = happyShift action_50
action_233 (108) = happyShift action_51
action_233 (109) = happyShift action_52
action_233 (118) = happyShift action_53
action_233 (123) = happyShift action_54
action_233 (41) = happyGoto action_40
action_233 (73) = happyGoto action_41
action_233 (74) = happyGoto action_42
action_233 (75) = happyGoto action_43
action_233 (76) = happyGoto action_245
action_233 _ = happyFail

action_234 (48) = happyGoto action_60
action_234 (70) = happyGoto action_244
action_234 (71) = happyGoto action_63
action_234 _ = happyReduce_51

action_235 (120) = happyShift action_36
action_235 (38) = happyGoto action_243
action_235 _ = happyFail

action_236 (120) = happyShift action_36
action_236 (38) = happyGoto action_242
action_236 _ = happyFail

action_237 _ = happyReduce_57

action_238 _ = happyReduce_50

action_239 _ = happyReduce_146

action_240 _ = happyReduce_46

action_241 _ = happyReduce_42

action_242 _ = happyReduce_61

action_243 _ = happyReduce_60

action_244 _ = happyReduce_63

action_245 _ = happyReduce_58

action_246 (81) = happyShift action_257
action_246 _ = happyFail

action_247 (82) = happyShift action_92
action_247 (85) = happyShift action_93
action_247 (121) = happyShift action_39
action_247 (39) = happyGoto action_90
action_247 (60) = happyGoto action_181
action_247 _ = happyReduce_65

action_248 (82) = happyShift action_75
action_248 (85) = happyShift action_76
action_248 (120) = happyShift action_36
action_248 (121) = happyShift action_39
action_248 (122) = happyShift action_77
action_248 (123) = happyShift action_54
action_248 (124) = happyShift action_78
action_248 (38) = happyGoto action_66
action_248 (39) = happyGoto action_67
action_248 (40) = happyGoto action_68
action_248 (41) = happyGoto action_69
action_248 (42) = happyGoto action_70
action_248 (64) = happyGoto action_256
action_248 (65) = happyGoto action_72
action_248 (66) = happyGoto action_73
action_248 _ = happyFail

action_249 _ = happyReduce_66

action_250 (48) = happyGoto action_255
action_250 _ = happyReduce_51

action_251 (86) = happyShift action_254
action_251 _ = happyFail

action_252 (88) = happyShift action_253
action_252 _ = happyFail

action_253 (82) = happyShift action_259
action_253 _ = happyFail

action_254 _ = happyReduce_82

action_255 (82) = happyShift action_115
action_255 (120) = happyShift action_36
action_255 (121) = happyShift action_39
action_255 (38) = happyGoto action_116
action_255 (39) = happyGoto action_113
action_255 (50) = happyGoto action_153
action_255 (51) = happyGoto action_118
action_255 _ = happyReduce_53

action_256 _ = happyReduce_64

action_257 (48) = happyGoto action_258
action_257 _ = happyReduce_51

action_258 (82) = happyShift action_115
action_258 (120) = happyShift action_36
action_258 (121) = happyShift action_39
action_258 (38) = happyGoto action_116
action_258 (39) = happyGoto action_113
action_258 (50) = happyGoto action_153
action_258 (51) = happyGoto action_118
action_258 _ = happyReduce_56

action_259 (122) = happyShift action_77
action_259 (40) = happyGoto action_101
action_259 (56) = happyGoto action_260
action_259 _ = happyReduce_86

action_260 (83) = happyShift action_261
action_260 _ = happyFail

action_261 (86) = happyShift action_262
action_261 _ = happyFail

action_262 _ = happyReduce_84

happyReduce_35 = happySpecReduce_1  38 happyReduction_35
happyReduction_35 (HappyTerminal (PT _ (TL happy_var_1)))
	 =  HappyAbsSyn38
		 (happy_var_1
	)
happyReduction_35 _  = notHappyAtAll 

happyReduce_36 = happySpecReduce_1  39 happyReduction_36
happyReduction_36 (HappyTerminal (PT _ (TV happy_var_1)))
	 =  HappyAbsSyn39
		 (Ident happy_var_1
	)
happyReduction_36 _  = notHappyAtAll 

happyReduce_37 = happySpecReduce_1  40 happyReduction_37
happyReduction_37 (HappyTerminal (PT _ (TI happy_var_1)))
	 =  HappyAbsSyn40
		 ((read happy_var_1) :: Integer
	)
happyReduction_37 _  = notHappyAtAll 

happyReduce_38 = happySpecReduce_1  41 happyReduction_38
happyReduction_38 (HappyTerminal (PT _ (TC happy_var_1)))
	 =  HappyAbsSyn41
		 ((read happy_var_1) :: Char
	)
happyReduction_38 _  = notHappyAtAll 

happyReduce_39 = happySpecReduce_1  42 happyReduction_39
happyReduction_39 (HappyTerminal (PT _ (TD happy_var_1)))
	 =  HappyAbsSyn42
		 ((read happy_var_1) :: Double
	)
happyReduction_39 _  = notHappyAtAll 

happyReduce_40 = happySpecReduce_1  43 happyReduction_40
happyReduction_40 (HappyAbsSyn45  happy_var_1)
	 =  HappyAbsSyn43
		 (LGr happy_var_1
	)
happyReduction_40 _  = notHappyAtAll 

happyReduce_41 = happySpecReduce_1  44 happyReduction_41
happyReduction_41 (HappyAbsSyn49  happy_var_1)
	 =  HappyAbsSyn44
		 (DefAll happy_var_1
	)
happyReduction_41 _  = notHappyAtAll 

happyReduce_42 = happySpecReduce_3  44 happyReduction_42
happyReduction_42 (HappyAbsSyn49  happy_var_3)
	_
	(HappyAbsSyn77  happy_var_1)
	 =  HappyAbsSyn44
		 (DefSome happy_var_1 happy_var_3
	)
happyReduction_42 _ _ _  = notHappyAtAll 

happyReduce_43 = happySpecReduce_2  44 happyReduction_43
happyReduction_43 (HappyAbsSyn77  happy_var_2)
	_
	 =  HappyAbsSyn44
		 (LDefView happy_var_2
	)
happyReduction_43 _ _  = notHappyAtAll 

happyReduce_44 = happySpecReduce_0  45 happyReduction_44
happyReduction_44  =  HappyAbsSyn45
		 ([]
	)

happyReduce_45 = happySpecReduce_1  45 happyReduction_45
happyReduction_45 (HappyAbsSyn44  happy_var_1)
	 =  HappyAbsSyn45
		 ((:[]) happy_var_1
	)
happyReduction_45 _  = notHappyAtAll 

happyReduce_46 = happySpecReduce_3  45 happyReduction_46
happyReduction_46 (HappyAbsSyn45  happy_var_3)
	_
	(HappyAbsSyn44  happy_var_1)
	 =  HappyAbsSyn45
		 ((:) happy_var_1 happy_var_3
	)
happyReduction_46 _ _ _  = notHappyAtAll 

happyReduce_47 = happySpecReduce_1  46 happyReduction_47
happyReduction_47 (HappyAbsSyn47  happy_var_1)
	 =  HappyAbsSyn46
		 (Grammar happy_var_1
	)
happyReduction_47 _  = notHappyAtAll 

happyReduce_48 = happySpecReduce_0  47 happyReduction_48
happyReduction_48  =  HappyAbsSyn47
		 ([]
	)

happyReduce_49 = happySpecReduce_1  47 happyReduction_49
happyReduction_49 (HappyAbsSyn49  happy_var_1)
	 =  HappyAbsSyn47
		 ((:[]) happy_var_1
	)
happyReduction_49 _  = notHappyAtAll 

happyReduce_50 = happySpecReduce_3  47 happyReduction_50
happyReduction_50 (HappyAbsSyn47  happy_var_3)
	_
	(HappyAbsSyn49  happy_var_1)
	 =  HappyAbsSyn47
		 ((:) happy_var_1 happy_var_3
	)
happyReduction_50 _ _ _  = notHappyAtAll 

happyReduce_51 = happySpecReduce_0  48 happyReduction_51
happyReduction_51  =  HappyAbsSyn48
		 ([]
	)

happyReduce_52 = happySpecReduce_2  48 happyReduction_52
happyReduction_52 (HappyAbsSyn50  happy_var_2)
	(HappyAbsSyn48  happy_var_1)
	 =  HappyAbsSyn48
		 (flip (:) happy_var_1 happy_var_2
	)
happyReduction_52 _ _  = notHappyAtAll 

happyReduce_53 = happyReduce 5 49 happyReduction_53
happyReduction_53 ((HappyAbsSyn48  happy_var_5) `HappyStk`
	_ `HappyStk`
	(HappyAbsSyn51  happy_var_3) `HappyStk`
	_ `HappyStk`
	(HappyAbsSyn52  happy_var_1) `HappyStk`
	happyRest)
	 = HappyAbsSyn49
		 (Rule happy_var_1 happy_var_3 (reverse happy_var_5)
	) `HappyStk` happyRest

happyReduce_54 = happySpecReduce_2  49 happyReduction_54
happyReduction_54 (HappyAbsSyn38  happy_var_2)
	_
	 =  HappyAbsSyn49
		 (Comment happy_var_2
	)
happyReduction_54 _ _  = notHappyAtAll 

happyReduce_55 = happySpecReduce_3  49 happyReduction_55
happyReduction_55 (HappyAbsSyn38  happy_var_3)
	(HappyAbsSyn38  happy_var_2)
	_
	 =  HappyAbsSyn49
		 (Comments happy_var_2 happy_var_3
	)
happyReduction_55 _ _ _  = notHappyAtAll 

happyReduce_56 = happyReduce 6 49 happyReduction_56
happyReduction_56 ((HappyAbsSyn48  happy_var_6) `HappyStk`
	_ `HappyStk`
	(HappyAbsSyn51  happy_var_4) `HappyStk`
	_ `HappyStk`
	(HappyAbsSyn52  happy_var_2) `HappyStk`
	_ `HappyStk`
	happyRest)
	 = HappyAbsSyn49
		 (Internal happy_var_2 happy_var_4 (reverse happy_var_6)
	) `HappyStk` happyRest

happyReduce_57 = happySpecReduce_3  49 happyReduction_57
happyReduction_57 (HappyAbsSyn73  happy_var_3)
	(HappyAbsSyn39  happy_var_2)
	_
	 =  HappyAbsSyn49
		 (Token happy_var_2 happy_var_3
	)
happyReduction_57 _ _ _  = notHappyAtAll 

happyReduce_58 = happyReduce 4 49 happyReduction_58
happyReduction_58 ((HappyAbsSyn73  happy_var_4) `HappyStk`
	(HappyAbsSyn39  happy_var_3) `HappyStk`
	_ `HappyStk`
	_ `HappyStk`
	happyRest)
	 = HappyAbsSyn49
		 (PosToken happy_var_3 happy_var_4
	) `HappyStk` happyRest

happyReduce_59 = happySpecReduce_2  49 happyReduction_59
happyReduction_59 (HappyAbsSyn77  happy_var_2)
	_
	 =  HappyAbsSyn49
		 (Entryp happy_var_2
	)
happyReduction_59 _ _  = notHappyAtAll 

happyReduce_60 = happyReduce 4 49 happyReduction_60
happyReduction_60 ((HappyAbsSyn38  happy_var_4) `HappyStk`
	(HappyAbsSyn51  happy_var_3) `HappyStk`
	(HappyAbsSyn72  happy_var_2) `HappyStk`
	_ `HappyStk`
	happyRest)
	 = HappyAbsSyn49
		 (Separator happy_var_2 happy_var_3 happy_var_4
	) `HappyStk` happyRest

happyReduce_61 = happyReduce 4 49 happyReduction_61
happyReduction_61 ((HappyAbsSyn38  happy_var_4) `HappyStk`
	(HappyAbsSyn51  happy_var_3) `HappyStk`
	(HappyAbsSyn72  happy_var_2) `HappyStk`
	_ `HappyStk`
	happyRest)
	 = HappyAbsSyn49
		 (Terminator happy_var_2 happy_var_3 happy_var_4
	) `HappyStk` happyRest

happyReduce_62 = happySpecReduce_3  49 happyReduction_62
happyReduction_62 (HappyAbsSyn40  happy_var_3)
	(HappyAbsSyn39  happy_var_2)
	_
	 =  HappyAbsSyn49
		 (Coercions happy_var_2 happy_var_3
	)
happyReduction_62 _ _ _  = notHappyAtAll 

happyReduce_63 = happyReduce 4 49 happyReduction_63
happyReduction_63 ((HappyAbsSyn70  happy_var_4) `HappyStk`
	_ `HappyStk`
	(HappyAbsSyn39  happy_var_2) `HappyStk`
	_ `HappyStk`
	happyRest)
	 = HappyAbsSyn49
		 (Rules happy_var_2 happy_var_4
	) `HappyStk` happyRest

happyReduce_64 = happyReduce 5 49 happyReduction_64
happyReduction_64 ((HappyAbsSyn64  happy_var_5) `HappyStk`
	_ `HappyStk`
	(HappyAbsSyn63  happy_var_3) `HappyStk`
	(HappyAbsSyn39  happy_var_2) `HappyStk`
	_ `HappyStk`
	happyRest)
	 = HappyAbsSyn49
		 (Function happy_var_2 (reverse happy_var_3) happy_var_5
	) `HappyStk` happyRest

happyReduce_65 = happyReduce 4 49 happyReduction_65
happyReduction_65 ((HappyAbsSyn59  happy_var_4) `HappyStk`
	_ `HappyStk`
	(HappyAbsSyn39  happy_var_2) `HappyStk`
	_ `HappyStk`
	happyRest)
	 = HappyAbsSyn49
		 (External happy_var_2 happy_var_4
	) `HappyStk` happyRest

happyReduce_66 = happyReduce 4 49 happyReduction_66
happyReduction_66 ((HappyAbsSyn38  happy_var_4) `HappyStk`
	(HappyAbsSyn38  happy_var_3) `HappyStk`
	(HappyAbsSyn38  happy_var_2) `HappyStk`
	_ `HappyStk`
	happyRest)
	 = HappyAbsSyn49
		 (AntiQuote happy_var_2 happy_var_3 happy_var_4
	) `HappyStk` happyRest

happyReduce_67 = happySpecReduce_2  49 happyReduction_67
happyReduction_67 (HappyAbsSyn69  happy_var_2)
	_
	 =  HappyAbsSyn49
		 (Layout happy_var_2
	)
happyReduction_67 _ _  = notHappyAtAll 

happyReduce_68 = happySpecReduce_3  49 happyReduction_68
happyReduction_68 (HappyAbsSyn69  happy_var_3)
	_
	_
	 =  HappyAbsSyn49
		 (LayoutStop happy_var_3
	)
happyReduction_68 _ _ _  = notHappyAtAll 

happyReduce_69 = happySpecReduce_2  49 happyReduction_69
happyReduction_69 _
	_
	 =  HappyAbsSyn49
		 (LayoutTop
	)

happyReduce_70 = happySpecReduce_1  50 happyReduction_70
happyReduction_70 (HappyAbsSyn38  happy_var_1)
	 =  HappyAbsSyn50
		 (Terminal happy_var_1
	)
happyReduction_70 _  = notHappyAtAll 

happyReduce_71 = happySpecReduce_1  50 happyReduction_71
happyReduction_71 (HappyAbsSyn51  happy_var_1)
	 =  HappyAbsSyn50
		 (NTerminal happy_var_1
	)
happyReduction_71 _  = notHappyAtAll 

happyReduce_72 = happySpecReduce_3  51 happyReduction_72
happyReduction_72 _
	(HappyAbsSyn51  happy_var_2)
	_
	 =  HappyAbsSyn51
		 (ListCat happy_var_2
	)
happyReduction_72 _ _ _  = notHappyAtAll 

happyReduce_73 = happySpecReduce_1  51 happyReduction_73
happyReduction_73 (HappyAbsSyn39  happy_var_1)
	 =  HappyAbsSyn51
		 (IdCat happy_var_1
	)
happyReduction_73 _  = notHappyAtAll 

happyReduce_74 = happySpecReduce_1  52 happyReduction_74
happyReduction_74 (HappyAbsSyn53  happy_var_1)
	 =  HappyAbsSyn52
		 (LabNoP happy_var_1
	)
happyReduction_74 _  = notHappyAtAll 

happyReduce_75 = happySpecReduce_2  52 happyReduction_75
happyReduction_75 (HappyAbsSyn58  happy_var_2)
	(HappyAbsSyn53  happy_var_1)
	 =  HappyAbsSyn52
		 (LabP happy_var_1 happy_var_2
	)
happyReduction_75 _ _  = notHappyAtAll 

happyReduce_76 = happySpecReduce_3  52 happyReduction_76
happyReduction_76 (HappyAbsSyn58  happy_var_3)
	(HappyAbsSyn53  happy_var_2)
	(HappyAbsSyn53  happy_var_1)
	 =  HappyAbsSyn52
		 (LabPF happy_var_1 happy_var_2 happy_var_3
	)
happyReduction_76 _ _ _  = notHappyAtAll 

happyReduce_77 = happySpecReduce_2  52 happyReduction_77
happyReduction_77 (HappyAbsSyn53  happy_var_2)
	(HappyAbsSyn53  happy_var_1)
	 =  HappyAbsSyn52
		 (LabF happy_var_1 happy_var_2
	)
happyReduction_77 _ _  = notHappyAtAll 

happyReduce_78 = happySpecReduce_1  53 happyReduction_78
happyReduction_78 (HappyAbsSyn39  happy_var_1)
	 =  HappyAbsSyn53
		 (Id happy_var_1
	)
happyReduction_78 _  = notHappyAtAll 

happyReduce_79 = happySpecReduce_1  53 happyReduction_79
happyReduction_79 _
	 =  HappyAbsSyn53
		 (Wild
	)

happyReduce_80 = happySpecReduce_2  53 happyReduction_80
happyReduction_80 _
	_
	 =  HappyAbsSyn53
		 (ListE
	)

happyReduce_81 = happySpecReduce_3  53 happyReduction_81
happyReduction_81 _
	_
	_
	 =  HappyAbsSyn53
		 (ListCons
	)

happyReduce_82 = happyReduce 5 53 happyReduction_82
happyReduction_82 (_ `HappyStk`
	_ `HappyStk`
	_ `HappyStk`
	_ `HappyStk`
	_ `HappyStk`
	happyRest)
	 = HappyAbsSyn53
		 (ListOne
	) `HappyStk` happyRest

happyReduce_83 = happySpecReduce_1  53 happyReduction_83
happyReduction_83 _
	 =  HappyAbsSyn53
		 (Aq
	)

happyReduce_84 = happyReduce 9 54 happyReduction_84
happyReduction_84 (_ `HappyStk`
	_ `HappyStk`
	(HappyAbsSyn56  happy_var_7) `HappyStk`
	_ `HappyStk`
	_ `HappyStk`
	_ `HappyStk`
	(HappyAbsSyn57  happy_var_3) `HappyStk`
	_ `HappyStk`
	_ `HappyStk`
	happyRest)
	 = HappyAbsSyn54
		 (ProfIt happy_var_3 happy_var_7
	) `HappyStk` happyRest

happyReduce_85 = happySpecReduce_3  55 happyReduction_85
happyReduction_85 _
	(HappyAbsSyn56  happy_var_2)
	_
	 =  HappyAbsSyn55
		 (Ints happy_var_2
	)
happyReduction_85 _ _ _  = notHappyAtAll 

happyReduce_86 = happySpecReduce_0  56 happyReduction_86
happyReduction_86  =  HappyAbsSyn56
		 ([]
	)

happyReduce_87 = happySpecReduce_1  56 happyReduction_87
happyReduction_87 (HappyAbsSyn40  happy_var_1)
	 =  HappyAbsSyn56
		 ((:[]) happy_var_1
	)
happyReduction_87 _  = notHappyAtAll 

happyReduce_88 = happySpecReduce_3  56 happyReduction_88
happyReduction_88 (HappyAbsSyn56  happy_var_3)
	_
	(HappyAbsSyn40  happy_var_1)
	 =  HappyAbsSyn56
		 ((:) happy_var_1 happy_var_3
	)
happyReduction_88 _ _ _  = notHappyAtAll 

happyReduce_89 = happySpecReduce_0  57 happyReduction_89
happyReduction_89  =  HappyAbsSyn57
		 ([]
	)

happyReduce_90 = happySpecReduce_1  57 happyReduction_90
happyReduction_90 (HappyAbsSyn55  happy_var_1)
	 =  HappyAbsSyn57
		 ((:[]) happy_var_1
	)
happyReduction_90 _  = notHappyAtAll 

happyReduce_91 = happySpecReduce_3  57 happyReduction_91
happyReduction_91 (HappyAbsSyn57  happy_var_3)
	_
	(HappyAbsSyn55  happy_var_1)
	 =  HappyAbsSyn57
		 ((:) happy_var_1 happy_var_3
	)
happyReduction_91 _ _ _  = notHappyAtAll 

happyReduce_92 = happySpecReduce_1  58 happyReduction_92
happyReduction_92 (HappyAbsSyn54  happy_var_1)
	 =  HappyAbsSyn58
		 ((:[]) happy_var_1
	)
happyReduction_92 _  = notHappyAtAll 

happyReduce_93 = happySpecReduce_2  58 happyReduction_93
happyReduction_93 (HappyAbsSyn58  happy_var_2)
	(HappyAbsSyn54  happy_var_1)
	 =  HappyAbsSyn58
		 ((:) happy_var_1 happy_var_2
	)
happyReduction_93 _ _  = notHappyAtAll 

happyReduce_94 = happySpecReduce_2  59 happyReduction_94
happyReduction_94 (HappyAbsSyn59  happy_var_2)
	(HappyAbsSyn59  happy_var_1)
	 =  HappyAbsSyn59
		 (HsApp happy_var_1 happy_var_2
	)
happyReduction_94 _ _  = notHappyAtAll 

happyReduce_95 = happySpecReduce_1  60 happyReduction_95
happyReduction_95 (HappyAbsSyn39  happy_var_1)
	 =  HappyAbsSyn59
		 (HsCon happy_var_1
	)
happyReduction_95 _  = notHappyAtAll 

happyReduce_96 = happySpecReduce_3  60 happyReduction_96
happyReduction_96 _
	(HappyAbsSyn61  happy_var_2)
	_
	 =  HappyAbsSyn59
		 (HsTup happy_var_2
	)
happyReduction_96 _ _ _  = notHappyAtAll 

happyReduce_97 = happySpecReduce_3  60 happyReduction_97
happyReduction_97 _
	(HappyAbsSyn59  happy_var_2)
	_
	 =  HappyAbsSyn59
		 (HsList happy_var_2
	)
happyReduction_97 _ _ _  = notHappyAtAll 

happyReduce_98 = happySpecReduce_1  61 happyReduction_98
happyReduction_98 (HappyAbsSyn59  happy_var_1)
	 =  HappyAbsSyn61
		 ((:[]) happy_var_1
	)
happyReduction_98 _  = notHappyAtAll 

happyReduce_99 = happySpecReduce_3  61 happyReduction_99
happyReduction_99 (HappyAbsSyn61  happy_var_3)
	_
	(HappyAbsSyn59  happy_var_1)
	 =  HappyAbsSyn61
		 ((:) happy_var_1 happy_var_3
	)
happyReduction_99 _ _ _  = notHappyAtAll 

happyReduce_100 = happySpecReduce_1  62 happyReduction_100
happyReduction_100 (HappyAbsSyn39  happy_var_1)
	 =  HappyAbsSyn62
		 (Arg happy_var_1
	)
happyReduction_100 _  = notHappyAtAll 

happyReduce_101 = happySpecReduce_0  63 happyReduction_101
happyReduction_101  =  HappyAbsSyn63
		 ([]
	)

happyReduce_102 = happySpecReduce_2  63 happyReduction_102
happyReduction_102 (HappyAbsSyn62  happy_var_2)
	(HappyAbsSyn63  happy_var_1)
	 =  HappyAbsSyn63
		 (flip (:) happy_var_1 happy_var_2
	)
happyReduction_102 _ _  = notHappyAtAll 

happyReduce_103 = happySpecReduce_3  64 happyReduction_103
happyReduction_103 (HappyAbsSyn64  happy_var_3)
	_
	(HappyAbsSyn64  happy_var_1)
	 =  HappyAbsSyn64
		 (Cons happy_var_1 happy_var_3
	)
happyReduction_103 _ _ _  = notHappyAtAll 

happyReduce_104 = happySpecReduce_1  64 happyReduction_104
happyReduction_104 (HappyAbsSyn64  happy_var_1)
	 =  HappyAbsSyn64
		 (happy_var_1
	)
happyReduction_104 _  = notHappyAtAll 

happyReduce_105 = happySpecReduce_2  65 happyReduction_105
happyReduction_105 (HappyAbsSyn67  happy_var_2)
	(HappyAbsSyn39  happy_var_1)
	 =  HappyAbsSyn64
		 (App happy_var_1 happy_var_2
	)
happyReduction_105 _ _  = notHappyAtAll 

happyReduce_106 = happySpecReduce_1  65 happyReduction_106
happyReduction_106 (HappyAbsSyn64  happy_var_1)
	 =  HappyAbsSyn64
		 (happy_var_1
	)
happyReduction_106 _  = notHappyAtAll 

happyReduce_107 = happySpecReduce_1  66 happyReduction_107
happyReduction_107 (HappyAbsSyn39  happy_var_1)
	 =  HappyAbsSyn64
		 (Var happy_var_1
	)
happyReduction_107 _  = notHappyAtAll 

happyReduce_108 = happySpecReduce_1  66 happyReduction_108
happyReduction_108 (HappyAbsSyn40  happy_var_1)
	 =  HappyAbsSyn64
		 (LitInt happy_var_1
	)
happyReduction_108 _  = notHappyAtAll 

happyReduce_109 = happySpecReduce_1  66 happyReduction_109
happyReduction_109 (HappyAbsSyn41  happy_var_1)
	 =  HappyAbsSyn64
		 (LitChar happy_var_1
	)
happyReduction_109 _  = notHappyAtAll 

happyReduce_110 = happySpecReduce_1  66 happyReduction_110
happyReduction_110 (HappyAbsSyn38  happy_var_1)
	 =  HappyAbsSyn64
		 (LitString happy_var_1
	)
happyReduction_110 _  = notHappyAtAll 

happyReduce_111 = happySpecReduce_1  66 happyReduction_111
happyReduction_111 (HappyAbsSyn42  happy_var_1)
	 =  HappyAbsSyn64
		 (LitDouble happy_var_1
	)
happyReduction_111 _  = notHappyAtAll 

happyReduce_112 = happySpecReduce_3  66 happyReduction_112
happyReduction_112 _
	(HappyAbsSyn67  happy_var_2)
	_
	 =  HappyAbsSyn64
		 (List happy_var_2
	)
happyReduction_112 _ _ _  = notHappyAtAll 

happyReduce_113 = happySpecReduce_3  66 happyReduction_113
happyReduction_113 _
	(HappyAbsSyn64  happy_var_2)
	_
	 =  HappyAbsSyn64
		 (happy_var_2
	)
happyReduction_113 _ _ _  = notHappyAtAll 

happyReduce_114 = happySpecReduce_1  67 happyReduction_114
happyReduction_114 (HappyAbsSyn64  happy_var_1)
	 =  HappyAbsSyn67
		 ((:[]) happy_var_1
	)
happyReduction_114 _  = notHappyAtAll 

happyReduce_115 = happySpecReduce_2  67 happyReduction_115
happyReduction_115 (HappyAbsSyn67  happy_var_2)
	(HappyAbsSyn64  happy_var_1)
	 =  HappyAbsSyn67
		 ((:) happy_var_1 happy_var_2
	)
happyReduction_115 _ _  = notHappyAtAll 

happyReduce_116 = happySpecReduce_0  68 happyReduction_116
happyReduction_116  =  HappyAbsSyn67
		 ([]
	)

happyReduce_117 = happySpecReduce_1  68 happyReduction_117
happyReduction_117 (HappyAbsSyn64  happy_var_1)
	 =  HappyAbsSyn67
		 ((:[]) happy_var_1
	)
happyReduction_117 _  = notHappyAtAll 

happyReduce_118 = happySpecReduce_3  68 happyReduction_118
happyReduction_118 (HappyAbsSyn67  happy_var_3)
	_
	(HappyAbsSyn64  happy_var_1)
	 =  HappyAbsSyn67
		 ((:) happy_var_1 happy_var_3
	)
happyReduction_118 _ _ _  = notHappyAtAll 

happyReduce_119 = happySpecReduce_1  69 happyReduction_119
happyReduction_119 (HappyAbsSyn38  happy_var_1)
	 =  HappyAbsSyn69
		 ((:[]) happy_var_1
	)
happyReduction_119 _  = notHappyAtAll 

happyReduce_120 = happySpecReduce_3  69 happyReduction_120
happyReduction_120 (HappyAbsSyn69  happy_var_3)
	_
	(HappyAbsSyn38  happy_var_1)
	 =  HappyAbsSyn69
		 ((:) happy_var_1 happy_var_3
	)
happyReduction_120 _ _ _  = notHappyAtAll 

happyReduce_121 = happySpecReduce_1  70 happyReduction_121
happyReduction_121 (HappyAbsSyn71  happy_var_1)
	 =  HappyAbsSyn70
		 ((:[]) happy_var_1
	)
happyReduction_121 _  = notHappyAtAll 

happyReduce_122 = happySpecReduce_3  70 happyReduction_122
happyReduction_122 (HappyAbsSyn70  happy_var_3)
	_
	(HappyAbsSyn71  happy_var_1)
	 =  HappyAbsSyn70
		 ((:) happy_var_1 happy_var_3
	)
happyReduction_122 _ _ _  = notHappyAtAll 

happyReduce_123 = happySpecReduce_1  71 happyReduction_123
happyReduction_123 (HappyAbsSyn48  happy_var_1)
	 =  HappyAbsSyn71
		 (RHS (reverse happy_var_1)
	)
happyReduction_123 _  = notHappyAtAll 

happyReduce_124 = happySpecReduce_1  72 happyReduction_124
happyReduction_124 _
	 =  HappyAbsSyn72
		 (MNonempty
	)

happyReduce_125 = happySpecReduce_0  72 happyReduction_125
happyReduction_125  =  HappyAbsSyn72
		 (MEmpty
	)

happyReduce_126 = happySpecReduce_2  73 happyReduction_126
happyReduction_126 (HappyAbsSyn73  happy_var_2)
	(HappyAbsSyn73  happy_var_1)
	 =  HappyAbsSyn73
		 (RSeq happy_var_1 happy_var_2
	)
happyReduction_126 _ _  = notHappyAtAll 

happyReduce_127 = happySpecReduce_1  73 happyReduction_127
happyReduction_127 (HappyAbsSyn73  happy_var_1)
	 =  HappyAbsSyn73
		 (happy_var_1
	)
happyReduction_127 _  = notHappyAtAll 

happyReduce_128 = happySpecReduce_3  74 happyReduction_128
happyReduction_128 (HappyAbsSyn73  happy_var_3)
	_
	(HappyAbsSyn73  happy_var_1)
	 =  HappyAbsSyn73
		 (RAlt happy_var_1 happy_var_3
	)
happyReduction_128 _ _ _  = notHappyAtAll 

happyReduce_129 = happySpecReduce_3  74 happyReduction_129
happyReduction_129 (HappyAbsSyn73  happy_var_3)
	_
	(HappyAbsSyn73  happy_var_1)
	 =  HappyAbsSyn73
		 (RMinus happy_var_1 happy_var_3
	)
happyReduction_129 _ _ _  = notHappyAtAll 

happyReduce_130 = happySpecReduce_1  74 happyReduction_130
happyReduction_130 (HappyAbsSyn73  happy_var_1)
	 =  HappyAbsSyn73
		 (happy_var_1
	)
happyReduction_130 _  = notHappyAtAll 

happyReduce_131 = happySpecReduce_2  75 happyReduction_131
happyReduction_131 _
	(HappyAbsSyn73  happy_var_1)
	 =  HappyAbsSyn73
		 (RStar happy_var_1
	)
happyReduction_131 _ _  = notHappyAtAll 

happyReduce_132 = happySpecReduce_2  75 happyReduction_132
happyReduction_132 _
	(HappyAbsSyn73  happy_var_1)
	 =  HappyAbsSyn73
		 (RPlus happy_var_1
	)
happyReduction_132 _ _  = notHappyAtAll 

happyReduce_133 = happySpecReduce_2  75 happyReduction_133
happyReduction_133 _
	(HappyAbsSyn73  happy_var_1)
	 =  HappyAbsSyn73
		 (ROpt happy_var_1
	)
happyReduction_133 _ _  = notHappyAtAll 

happyReduce_134 = happySpecReduce_1  75 happyReduction_134
happyReduction_134 _
	 =  HappyAbsSyn73
		 (REps
	)

happyReduce_135 = happySpecReduce_1  75 happyReduction_135
happyReduction_135 (HappyAbsSyn41  happy_var_1)
	 =  HappyAbsSyn73
		 (RChar happy_var_1
	)
happyReduction_135 _  = notHappyAtAll 

happyReduce_136 = happySpecReduce_3  75 happyReduction_136
happyReduction_136 _
	(HappyAbsSyn38  happy_var_2)
	_
	 =  HappyAbsSyn73
		 (RAlts happy_var_2
	)
happyReduction_136 _ _ _  = notHappyAtAll 

happyReduce_137 = happySpecReduce_3  75 happyReduction_137
happyReduction_137 _
	(HappyAbsSyn38  happy_var_2)
	_
	 =  HappyAbsSyn73
		 (RSeqs happy_var_2
	)
happyReduction_137 _ _ _  = notHappyAtAll 

happyReduce_138 = happySpecReduce_1  75 happyReduction_138
happyReduction_138 _
	 =  HappyAbsSyn73
		 (RDigit
	)

happyReduce_139 = happySpecReduce_1  75 happyReduction_139
happyReduction_139 _
	 =  HappyAbsSyn73
		 (RLetter
	)

happyReduce_140 = happySpecReduce_1  75 happyReduction_140
happyReduction_140 _
	 =  HappyAbsSyn73
		 (RUpper
	)

happyReduce_141 = happySpecReduce_1  75 happyReduction_141
happyReduction_141 _
	 =  HappyAbsSyn73
		 (RLower
	)

happyReduce_142 = happySpecReduce_1  75 happyReduction_142
happyReduction_142 _
	 =  HappyAbsSyn73
		 (RAny
	)

happyReduce_143 = happySpecReduce_3  75 happyReduction_143
happyReduction_143 _
	(HappyAbsSyn73  happy_var_2)
	_
	 =  HappyAbsSyn73
		 (happy_var_2
	)
happyReduction_143 _ _ _  = notHappyAtAll 

happyReduce_144 = happySpecReduce_1  76 happyReduction_144
happyReduction_144 (HappyAbsSyn73  happy_var_1)
	 =  HappyAbsSyn73
		 (happy_var_1
	)
happyReduction_144 _  = notHappyAtAll 

happyReduce_145 = happySpecReduce_1  77 happyReduction_145
happyReduction_145 (HappyAbsSyn39  happy_var_1)
	 =  HappyAbsSyn77
		 ((:[]) happy_var_1
	)
happyReduction_145 _  = notHappyAtAll 

happyReduce_146 = happySpecReduce_3  77 happyReduction_146
happyReduction_146 (HappyAbsSyn77  happy_var_3)
	_
	(HappyAbsSyn39  happy_var_1)
	 =  HappyAbsSyn77
		 ((:) happy_var_1 happy_var_3
	)
happyReduction_146 _ _ _  = notHappyAtAll 

happyNewToken action sts stk [] =
	action 126 126 notHappyAtAll (HappyState action) sts stk []

happyNewToken action sts stk (tk:tks) =
	let cont i = action i i tk (HappyState action) sts stk tks in
	case tk of {
	PT _ (TS ":") -> cont 78;
	PT _ (TS ";") -> cont 79;
	PT _ (TS ".") -> cont 80;
	PT _ (TS "::=") -> cont 81;
	PT _ (TS "[") -> cont 82;
	PT _ (TS "]") -> cont 83;
	PT _ (TS "_") -> cont 84;
	PT _ (TS "(") -> cont 85;
	PT _ (TS ")") -> cont 86;
	PT _ (TS "$") -> cont 87;
	PT _ (TS ",") -> cont 88;
	PT _ (TS "=") -> cont 89;
	PT _ (TS "|") -> cont 90;
	PT _ (TS "-") -> cont 91;
	PT _ (TS "*") -> cont 92;
	PT _ (TS "+") -> cont 93;
	PT _ (TS "?") -> cont 94;
	PT _ (TS "{") -> cont 95;
	PT _ (TS "}") -> cont 96;
	PT _ (TS "antiquote") -> cont 97;
	PT _ (TS "char") -> cont 98;
	PT _ (TS "coercions") -> cont 99;
	PT _ (TS "comment") -> cont 100;
	PT _ (TS "define") -> cont 101;
	PT _ (TS "digit") -> cont 102;
	PT _ (TS "entrypoints") -> cont 103;
	PT _ (TS "eps") -> cont 104;
	PT _ (TS "external") -> cont 105;
	PT _ (TS "internal") -> cont 106;
	PT _ (TS "layout") -> cont 107;
	PT _ (TS "letter") -> cont 108;
	PT _ (TS "lower") -> cont 109;
	PT _ (TS "nonempty") -> cont 110;
	PT _ (TS "position") -> cont 111;
	PT _ (TS "rules") -> cont 112;
	PT _ (TS "separator") -> cont 113;
	PT _ (TS "stop") -> cont 114;
	PT _ (TS "terminator") -> cont 115;
	PT _ (TS "token") -> cont 116;
	PT _ (TS "toplevel") -> cont 117;
	PT _ (TS "upper") -> cont 118;
	PT _ (TS "views") -> cont 119;
	PT _ (TL happy_dollar_dollar) -> cont 120;
	PT _ (TV happy_dollar_dollar) -> cont 121;
	PT _ (TI happy_dollar_dollar) -> cont 122;
	PT _ (TC happy_dollar_dollar) -> cont 123;
	PT _ (TD happy_dollar_dollar) -> cont 124;
	_ -> cont 125;
	_ -> happyError' (tk:tks)
	}

happyError_ tk tks = happyError' (tk:tks)

happyThen :: () => Err a -> (a -> Err b) -> Err b
happyThen = (thenM)
happyReturn :: () => a -> Err a
happyReturn = (returnM)
happyThen1 m k tks = (thenM) m (\a -> k a tks)
happyReturn1 :: () => a -> b -> Err a
happyReturn1 = \a tks -> (returnM) a
happyError' :: () => [(Token)] -> Err a
happyError' = happyError

pLGrammar tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_0 tks) (\x -> case x of {HappyAbsSyn43 z -> happyReturn z; _other -> notHappyAtAll })

pLDef tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_1 tks) (\x -> case x of {HappyAbsSyn44 z -> happyReturn z; _other -> notHappyAtAll })

pListLDef tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_2 tks) (\x -> case x of {HappyAbsSyn45 z -> happyReturn z; _other -> notHappyAtAll })

pGrammar tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_3 tks) (\x -> case x of {HappyAbsSyn46 z -> happyReturn z; _other -> notHappyAtAll })

pListDef tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_4 tks) (\x -> case x of {HappyAbsSyn47 z -> happyReturn z; _other -> notHappyAtAll })

pListItem tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_5 tks) (\x -> case x of {HappyAbsSyn48 z -> happyReturn z; _other -> notHappyAtAll })

pDef tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_6 tks) (\x -> case x of {HappyAbsSyn49 z -> happyReturn z; _other -> notHappyAtAll })

pItem tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_7 tks) (\x -> case x of {HappyAbsSyn50 z -> happyReturn z; _other -> notHappyAtAll })

pCat tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_8 tks) (\x -> case x of {HappyAbsSyn51 z -> happyReturn z; _other -> notHappyAtAll })

pLabel tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_9 tks) (\x -> case x of {HappyAbsSyn52 z -> happyReturn z; _other -> notHappyAtAll })

pLabelId tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_10 tks) (\x -> case x of {HappyAbsSyn53 z -> happyReturn z; _other -> notHappyAtAll })

pProfItem tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_11 tks) (\x -> case x of {HappyAbsSyn54 z -> happyReturn z; _other -> notHappyAtAll })

pIntList tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_12 tks) (\x -> case x of {HappyAbsSyn55 z -> happyReturn z; _other -> notHappyAtAll })

pListInteger tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_13 tks) (\x -> case x of {HappyAbsSyn56 z -> happyReturn z; _other -> notHappyAtAll })

pListIntList tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_14 tks) (\x -> case x of {HappyAbsSyn57 z -> happyReturn z; _other -> notHappyAtAll })

pListProfItem tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_15 tks) (\x -> case x of {HappyAbsSyn58 z -> happyReturn z; _other -> notHappyAtAll })

pHsTyp tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_16 tks) (\x -> case x of {HappyAbsSyn59 z -> happyReturn z; _other -> notHappyAtAll })

pHsTyp1 tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_17 tks) (\x -> case x of {HappyAbsSyn59 z -> happyReturn z; _other -> notHappyAtAll })

pListHsTyp tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_18 tks) (\x -> case x of {HappyAbsSyn61 z -> happyReturn z; _other -> notHappyAtAll })

pArg tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_19 tks) (\x -> case x of {HappyAbsSyn62 z -> happyReturn z; _other -> notHappyAtAll })

pListArg tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_20 tks) (\x -> case x of {HappyAbsSyn63 z -> happyReturn z; _other -> notHappyAtAll })

pExp tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_21 tks) (\x -> case x of {HappyAbsSyn64 z -> happyReturn z; _other -> notHappyAtAll })

pExp1 tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_22 tks) (\x -> case x of {HappyAbsSyn64 z -> happyReturn z; _other -> notHappyAtAll })

pExp2 tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_23 tks) (\x -> case x of {HappyAbsSyn64 z -> happyReturn z; _other -> notHappyAtAll })

pListExp2 tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_24 tks) (\x -> case x of {HappyAbsSyn67 z -> happyReturn z; _other -> notHappyAtAll })

pListExp tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_25 tks) (\x -> case x of {HappyAbsSyn67 z -> happyReturn z; _other -> notHappyAtAll })

pListString tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_26 tks) (\x -> case x of {HappyAbsSyn69 z -> happyReturn z; _other -> notHappyAtAll })

pListRHS tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_27 tks) (\x -> case x of {HappyAbsSyn70 z -> happyReturn z; _other -> notHappyAtAll })

pRHS tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_28 tks) (\x -> case x of {HappyAbsSyn71 z -> happyReturn z; _other -> notHappyAtAll })

pMinimumSize tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_29 tks) (\x -> case x of {HappyAbsSyn72 z -> happyReturn z; _other -> notHappyAtAll })

pReg2 tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_30 tks) (\x -> case x of {HappyAbsSyn73 z -> happyReturn z; _other -> notHappyAtAll })

pReg1 tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_31 tks) (\x -> case x of {HappyAbsSyn73 z -> happyReturn z; _other -> notHappyAtAll })

pReg3 tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_32 tks) (\x -> case x of {HappyAbsSyn73 z -> happyReturn z; _other -> notHappyAtAll })

pReg tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_33 tks) (\x -> case x of {HappyAbsSyn73 z -> happyReturn z; _other -> notHappyAtAll })

pListIdent tks = happySomeParser where
  happySomeParser = happyThen (happyParse action_34 tks) (\x -> case x of {HappyAbsSyn77 z -> happyReturn z; _other -> notHappyAtAll })

happySeq = happyDontSeq


returnM :: a -> Err a
returnM = return

thenM :: Err a -> (a -> Err b) -> Err b
thenM = (>>=)

happyError :: [Token] -> Err a
happyError ts =
  Bad $ "syntax error at " ++ tokenPos ts ++ 
  case ts of
    [] -> []
    [Err _] -> " due to lexer error"
    _ -> " before " ++ unwords (map prToken (take 4 ts))

myLexer = tokens
{-# LINE 1 "templates\GenericTemplate.hs" #-}
{-# LINE 1 "templates\\GenericTemplate.hs" #-}
{-# LINE 1 "<built-in>" #-}
{-# LINE 1 "<command line>" #-}
{-# LINE 1 "templates\\GenericTemplate.hs" #-}
-- Id: GenericTemplate.hs,v 1.26 2005/01/14 14:47:22 simonmar Exp 

{-# LINE 30 "templates\\GenericTemplate.hs" #-}








{-# LINE 51 "templates\\GenericTemplate.hs" #-}

{-# LINE 61 "templates\\GenericTemplate.hs" #-}

{-# LINE 70 "templates\\GenericTemplate.hs" #-}

infixr 9 `HappyStk`
data HappyStk a = HappyStk a (HappyStk a)

-----------------------------------------------------------------------------
-- starting the parse

happyParse start_state = happyNewToken start_state notHappyAtAll notHappyAtAll

-----------------------------------------------------------------------------
-- Accepting the parse

-- If the current token is (1), it means we've just accepted a partial
-- parse (a %partial parser).  We must ignore the saved token on the top of
-- the stack in this case.
happyAccept (1) tk st sts (_ `HappyStk` ans `HappyStk` _) =
	happyReturn1 ans
happyAccept j tk st sts (HappyStk ans _) = 
	 (happyReturn1 ans)

-----------------------------------------------------------------------------
-- Arrays only: do the next action

{-# LINE 148 "templates\\GenericTemplate.hs" #-}

-----------------------------------------------------------------------------
-- HappyState data type (not arrays)



newtype HappyState b c = HappyState
        (Int ->                    -- token number
         Int ->                    -- token number (yes, again)
         b ->                           -- token semantic value
         HappyState b c ->              -- current state
         [HappyState b c] ->            -- state stack
         c)



-----------------------------------------------------------------------------
-- Shifting a token

happyShift new_state (1) tk st sts stk@(x `HappyStk` _) =
     let (i) = (case x of { HappyErrorToken (i) -> i }) in
--     trace "shifting the error token" $
     new_state i i tk (HappyState (new_state)) ((st):(sts)) (stk)

happyShift new_state i tk st sts stk =
     happyNewToken new_state ((st):(sts)) ((HappyTerminal (tk))`HappyStk`stk)

-- happyReduce is specialised for the common cases.

happySpecReduce_0 i fn (1) tk st sts stk
     = happyFail (1) tk st sts stk
happySpecReduce_0 nt fn j tk st@((HappyState (action))) sts stk
     = action nt j tk st ((st):(sts)) (fn `HappyStk` stk)

happySpecReduce_1 i fn (1) tk st sts stk
     = happyFail (1) tk st sts stk
happySpecReduce_1 nt fn j tk _ sts@(((st@(HappyState (action))):(_))) (v1`HappyStk`stk')
     = let r = fn v1 in
       happySeq r (action nt j tk st sts (r `HappyStk` stk'))

happySpecReduce_2 i fn (1) tk st sts stk
     = happyFail (1) tk st sts stk
happySpecReduce_2 nt fn j tk _ ((_):(sts@(((st@(HappyState (action))):(_))))) (v1`HappyStk`v2`HappyStk`stk')
     = let r = fn v1 v2 in
       happySeq r (action nt j tk st sts (r `HappyStk` stk'))

happySpecReduce_3 i fn (1) tk st sts stk
     = happyFail (1) tk st sts stk
happySpecReduce_3 nt fn j tk _ ((_):(((_):(sts@(((st@(HappyState (action))):(_))))))) (v1`HappyStk`v2`HappyStk`v3`HappyStk`stk')
     = let r = fn v1 v2 v3 in
       happySeq r (action nt j tk st sts (r `HappyStk` stk'))

happyReduce k i fn (1) tk st sts stk
     = happyFail (1) tk st sts stk
happyReduce k nt fn j tk st sts stk
     = case happyDrop (k - ((1) :: Int)) sts of
	 sts1@(((st1@(HappyState (action))):(_))) ->
        	let r = fn stk in  -- it doesn't hurt to always seq here...
       		happyDoSeq r (action nt j tk st1 sts1 r)

happyMonadReduce k nt fn (1) tk st sts stk
     = happyFail (1) tk st sts stk
happyMonadReduce k nt fn j tk st sts stk =
        happyThen1 (fn stk tk) (\r -> action nt j tk st1 sts1 (r `HappyStk` drop_stk))
       where (sts1@(((st1@(HappyState (action))):(_)))) = happyDrop k ((st):(sts))
             drop_stk = happyDropStk k stk

happyMonad2Reduce k nt fn (1) tk st sts stk
     = happyFail (1) tk st sts stk
happyMonad2Reduce k nt fn j tk st sts stk =
       happyThen1 (fn stk tk) (\r -> happyNewToken new_state sts1 (r `HappyStk` drop_stk))
       where (sts1@(((st1@(HappyState (action))):(_)))) = happyDrop k ((st):(sts))
             drop_stk = happyDropStk k stk





             new_state = action


happyDrop (0) l = l
happyDrop n ((_):(t)) = happyDrop (n - ((1) :: Int)) t

happyDropStk (0) l = l
happyDropStk n (x `HappyStk` xs) = happyDropStk (n - ((1)::Int)) xs

-----------------------------------------------------------------------------
-- Moving to a new state after a reduction

{-# LINE 246 "templates\\GenericTemplate.hs" #-}
happyGoto action j tk st = action j j tk (HappyState action)


-----------------------------------------------------------------------------
-- Error recovery ((1) is the error token)

-- parse error if we are in recovery and we fail again
happyFail  (1) tk old_st _ stk =
--	trace "failing" $ 
    	happyError_ tk

{-  We don't need state discarding for our restricted implementation of
    "error".  In fact, it can cause some bogus parses, so I've disabled it
    for now --SDM

-- discard a state
happyFail  (1) tk old_st (((HappyState (action))):(sts)) 
						(saved_tok `HappyStk` _ `HappyStk` stk) =
--	trace ("discarding state, depth " ++ show (length stk))  $
	action (1) (1) tk (HappyState (action)) sts ((saved_tok`HappyStk`stk))
-}

-- Enter error recovery: generate an error token,
--                       save the old token and carry on.
happyFail  i tk (HappyState (action)) sts stk =
--      trace "entering error recovery" $
	action (1) (1) tk (HappyState (action)) sts ( (HappyErrorToken (i)) `HappyStk` stk)

-- Internal happy errors:

notHappyAtAll = error "Internal Happy error\n"

-----------------------------------------------------------------------------
-- Hack to get the typechecker to accept our action functions







-----------------------------------------------------------------------------
-- Seq-ing.  If the --strict flag is given, then Happy emits 
--	happySeq = happyDoSeq
-- otherwise it emits
-- 	happySeq = happyDontSeq

happyDoSeq, happyDontSeq :: a -> b -> b
happyDoSeq   a b = a `seq` b
happyDontSeq a b = b

-----------------------------------------------------------------------------
-- Don't inline any functions from the template.  GHC has a nasty habit
-- of deciding to inline happyGoto everywhere, which increases the size of
-- the generated parser quite a bit.

{-# LINE 310 "templates\\GenericTemplate.hs" #-}
{-# NOINLINE happyShift #-}
{-# NOINLINE happySpecReduce_0 #-}
{-# NOINLINE happySpecReduce_1 #-}
{-# NOINLINE happySpecReduce_2 #-}
{-# NOINLINE happySpecReduce_3 #-}
{-# NOINLINE happyReduce #-}
{-# NOINLINE happyMonadReduce #-}
{-# NOINLINE happyGoto #-}
{-# NOINLINE happyFail #-}

-- end of Happy Template.