]> code.delx.au - gnu-emacs-elpa/blob - packages/ada-mode/gpr-grammar-wy.el
4b1d45f49b6531a8fe6fe3fcaa2a92c9b6992fb4
[gnu-emacs-elpa] / packages / ada-mode / gpr-grammar-wy.el
1 ;;; gpr-grammar-wy.el --- Generated parser support file
2
3 ;; Copyright (C) 2013 Stephen Leake. All Rights Reserved.
4
5 ;; This program is free software; you can redistribute it and/or
6 ;; modify it under the terms of the GNU General Public License as
7 ;; published by the Free Software Foundation; either version 2, or (at
8 ;; your option) any later version.
9 ;;
10 ;; This software is distributed in the hope that it will be useful,
11 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 ;; General Public License for more details.
14 ;;
15 ;; You should have received a copy of the GNU General Public License
16 ;; along with GNU Emacs; see the file COPYING. If not, write to the
17 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 ;; Boston, MA 02110-1301, USA.
19
20 ;; PLEASE DO NOT MANUALLY EDIT THIS FILE! It is automatically
21 ;; generated from the grammar file gpr-grammar.wy
22
23 (require 'wisi)
24 (require 'semantic/lex)
25 (require 'wisi-compile)
26
27 (defconst gpr-grammar-wy--keyword-table
28 (semantic-lex-make-keyword-table
29 '(
30 ("abstract" . ABSTRACT)
31 ("aggregate" . AGGREGATE)
32 ("case" . CASE)
33 ("configuration" . CONFIGURATION)
34 ("end" . END)
35 ("external" . EXTERNAL)
36 ("external_as_list" . EXTERNAL_AS_LIST)
37 ("for" . FOR)
38 ("is" . IS)
39 ("(" . LEFT_PAREN)
40 ("library" . LIBRARY)
41 ("null" . NULL)
42 ("others" . OTHERS)
43 ("package" . PACKAGE)
44 ("project" . PROJECT)
45 (")" . RIGHT_PAREN)
46 ("standard" . STANDARD)
47 ("type" . TYPE)
48 ("use" . USE)
49 ("when" . WHEN)
50 ("with" . WITH)
51 )
52 nil)
53 "Table of language keywords.")
54
55 (defconst gpr-grammar-wy--token-table
56 (semantic-lex-make-type-table
57 '(
58 ("punctuation"
59 (AMPERSAND . "&")
60 (COLON . ":")
61 (COLON_EQUALS . ":=")
62 (COMMA . ",")
63 (DOT . ".")
64 (EQUAL_GREATER . "=>")
65 (QUOTE . "'")
66 (SEMICOLON . ";")
67 (VERTICAL_BAR . "|")
68 )
69 ("symbol"
70 (IDENTIFIER)
71 )
72 ("string-double"
73 (STRING_LITERAL)
74 )
75 )
76 nil)
77 "Table of language tokens.")
78
79 (defconst gpr-grammar-wy--parse-table
80 (wisi-compile-grammar
81 '((AMPERSAND COLON COLON_EQUALS COMMA DOT EQUAL_GREATER QUOTE SEMICOLON VERTICAL_BAR IDENTIFIER STRING_LITERAL ABSTRACT AGGREGATE CASE CONFIGURATION END EXTERNAL EXTERNAL_AS_LIST FOR IS LEFT_PAREN LIBRARY NULL OTHERS PACKAGE PROJECT RIGHT_PAREN STANDARD TYPE USE WHEN WITH )
82 ((attribute_declaration
83 ((FOR IDENTIFIER USE expression SEMICOLON )
84 (progn
85 (wisi-statement-action 1 'statement-start 3 'statement-other 5 'statement-end)
86 (wisi-containing-action 3 4)))
87 ((FOR IDENTIFIER LEFT_PAREN STRING_LITERAL RIGHT_PAREN USE expression SEMICOLON )
88 (progn
89 (wisi-statement-action 1 'statement-start 3 'open-paren 5 'close-paren 6 'statement-other 8 'statement-end)
90 (wisi-containing-action 6 7))))
91 (attribute_prefix
92 ((PROJECT ))
93 ((name )))
94 (attribute_reference
95 ((attribute_prefix QUOTE IDENTIFIER ))
96 ((attribute_prefix QUOTE IDENTIFIER LEFT_PAREN STRING_LITERAL RIGHT_PAREN )
97 (wisi-statement-action 4 'open-paren 6 'close-paren)))
98 (case_statement
99 ((CASE name IS case_items END CASE SEMICOLON )
100 (progn
101 (wisi-statement-action 1 'statement-start 3 'block-start 5 'block-end 7 'statement-end)
102 (wisi-containing-action 3 4))))
103 (case_item
104 ((WHEN discrete_choice_list EQUAL_GREATER declarative_items )
105 (progn
106 (wisi-statement-action 1 'block-middle 3 'block-start)
107 (wisi-containing-action 3 4))))
108 (case_items
109 ((case_item ))
110 ((case_items case_item )))
111 (compilation_unit
112 ((context_clause_opt project_qualifier_opt project_declaration )))
113 (context_clause
114 ((with_clause ))
115 ((context_clause with_clause )))
116 (context_clause_opt
117 (())
118 ((context_clause )))
119 (declarative_item
120 ((simple_declarative_item ))
121 ((typed_string_declaration ))
122 ((package_declaration )))
123 (declarative_items
124 ((declarative_item ))
125 ((declarative_items declarative_item )))
126 (discrete_choice
127 ((STRING_LITERAL ))
128 ((OTHERS )))
129 (discrete_choice_list
130 ((discrete_choice ))
131 ((discrete_choice_list VERTICAL_BAR discrete_choice )))
132 (expression
133 ((term ))
134 ((expression AMPERSAND term )))
135 (external_value
136 ((EXTERNAL LEFT_PAREN string_list RIGHT_PAREN )
137 (wisi-statement-action 2 'open-paren 4 'close-paren))
138 ((EXTERNAL_AS_LIST LEFT_PAREN string_list RIGHT_PAREN )
139 (wisi-statement-action 2 'open-paren 4 'close-paren)))
140 (name
141 ((IDENTIFIER ))
142 ((name DOT IDENTIFIER )))
143 (project_declaration
144 ((simple_project_declaration )))
145 (package_declaration
146 ((package_spec )))
147 (package_spec
148 ((PACKAGE IDENTIFIER IS simple_declarative_items END IDENTIFIER SEMICOLON )
149 (progn
150 (wisi-statement-action 1 'statement-start 3 'block-start 5 'block-end 7 'statement-end)
151 (wisi-containing-action 3 4))))
152 (project_qualifier_opt
153 (())
154 ((ABSTRACT ))
155 ((STANDARD ))
156 ((AGGREGATE ))
157 ((AGGREGATE LIBRARY ))
158 ((LIBRARY ))
159 ((CONFIGURATION )))
160 (simple_declarative_item
161 ((IDENTIFIER COLON_EQUALS expression SEMICOLON )
162 (progn
163 (wisi-statement-action 1 'statement-start 4 'statement-end)
164 (wisi-containing-action 1 3)))
165 ((IDENTIFIER COLON IDENTIFIER COLON_EQUALS expression SEMICOLON )
166 (progn
167 (wisi-statement-action 1 'statement-start 6 'statement-end)
168 (wisi-containing-action 1 5)))
169 ((attribute_declaration ))
170 ((case_statement ))
171 ((NULL SEMICOLON )
172 (wisi-statement-action 1 'statement-start 2 'statement-end)))
173 (simple_declarative_items
174 ((simple_declarative_item ))
175 ((simple_declarative_items simple_declarative_item )))
176 (simple_project_declaration
177 ((PROJECT IDENTIFIER IS declarative_items END IDENTIFIER SEMICOLON )
178 (progn
179 (wisi-statement-action 1 'statement-start 3 'block-start 5 'block-end 7 'statement-end)
180 (wisi-containing-action 3 4))))
181 (string_expression
182 ((string_primary ))
183 ((string_expression AMPERSAND string_primary )))
184 (string_primary
185 ((STRING_LITERAL ))
186 ((name ))
187 ((external_value ))
188 ((attribute_reference )))
189 (string_list
190 ((string_expression ))
191 ((string_list COMMA string_expression )))
192 (term
193 ((string_expression ))
194 ((LEFT_PAREN RIGHT_PAREN ))
195 ((LEFT_PAREN string_list RIGHT_PAREN )
196 (wisi-statement-action
197 1 'open-paren
198 3 'close-paren)))
199 (typed_string_declaration
200 ((TYPE IDENTIFIER IS LEFT_PAREN string_list RIGHT_PAREN SEMICOLON )
201 (wisi-statement-action 1 'statement-start 4 'open-paren 6 'close-paren 7 'statement-end)))
202 (with_clause
203 ((WITH string_list SEMICOLON ))))
204 [((default . error) (ABSTRACT . (context_clause_opt . 0)) (AGGREGATE . (context_clause_opt . 0)) (CONFIGURATION . (context_clause_opt . 0)) (LIBRARY . (context_clause_opt . 0)) (STANDARD . (context_clause_opt . 0)) (PROJECT . (context_clause_opt . 0)) (WITH . 7))
205 ((default . error) (PROJECT . (project_qualifier_opt . 1)))
206 ((default . error) (LIBRARY . 29) (PROJECT . (project_qualifier_opt . 3)))
207 ((default . error) (PROJECT . (project_qualifier_opt . 6)))
208 ((default . error) (PROJECT . (project_qualifier_opt . 5)))
209 ((default . error) (IDENTIFIER . 28))
210 ((default . error) (PROJECT . (project_qualifier_opt . 2)))
211 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (IDENTIFIER . 16) (PROJECT . 20))
212 ((default . error) ($EOI . 15))
213 ((default . error) (ABSTRACT . (context_clause_opt . 1)) (AGGREGATE . (context_clause_opt . 1)) (CONFIGURATION . (context_clause_opt . 1)) (LIBRARY . (context_clause_opt . 1)) (STANDARD . (context_clause_opt . 1)) (PROJECT . (context_clause_opt . 1)) (WITH . 7))
214 ((default . error) (PROJECT . (project_qualifier_opt . 0)) (ABSTRACT . 1) (STANDARD . 6) (AGGREGATE . 2) (LIBRARY . 4) (CONFIGURATION . 3))
215 ((default . error) ($EOI . (project_declaration . 0)))
216 ((default . error) (PROJECT . (context_clause . 0)) (STANDARD . (context_clause . 0)) (LIBRARY . (context_clause . 0)) (CONFIGURATION . (context_clause . 0)) (AGGREGATE . (context_clause . 0)) (ABSTRACT . (context_clause . 0)) (WITH . (context_clause . 0)))
217 ((default . error) (PROJECT . 5))
218 ((default . error) (WITH . (context_clause . 1)) (ABSTRACT . (context_clause . 1)) (AGGREGATE . (context_clause . 1)) (CONFIGURATION . (context_clause . 1)) (LIBRARY . (context_clause . 1)) (STANDARD . (context_clause . 1)) (PROJECT . (context_clause . 1)))
219 ((default . error) ($EOI . accept) (WITH . accept) (WHEN . accept) (USE . accept) (TYPE . accept) (STANDARD . accept) (RIGHT_PAREN . accept) (PROJECT . accept) (PACKAGE . accept) (OTHERS . accept) (NULL . accept) (LIBRARY . accept) (LEFT_PAREN . accept) (IS . accept) (FOR . accept) (EXTERNAL_AS_LIST . accept) (EXTERNAL . accept) (END . accept) (CONFIGURATION . accept) (CASE . accept) (AGGREGATE . accept) (ABSTRACT . accept) (STRING_LITERAL . accept) (IDENTIFIER . accept) (VERTICAL_BAR . accept) (SEMICOLON . accept) (QUOTE . accept) (EQUAL_GREATER . accept) (DOT . accept) (COMMA . accept) (COLON_EQUALS . accept) (COLON . accept) (AMPERSAND . accept))
220 ((default . error) (IS . (name . 0)) (COMMA . (name . 0)) (RIGHT_PAREN . (name . 0)) (SEMICOLON . (name . 0)) (AMPERSAND . (name . 0)) (DOT . (name . 0)) (QUOTE . (name . 0)))
221 ((default . error) (RIGHT_PAREN . (string_primary . 0)) (COMMA . (string_primary . 0)) (AMPERSAND . (string_primary . 0)) (SEMICOLON . (string_primary . 0)))
222 ((default . error) (LEFT_PAREN . 37))
223 ((default . error) (LEFT_PAREN . 36))
224 ((default . error) (QUOTE . (attribute_prefix . 0)))
225 ((default . error) (QUOTE . 35))
226 ((default . error) (RIGHT_PAREN . (string_primary . 3)) (COMMA . (string_primary . 3)) (AMPERSAND . (string_primary . 3)) (SEMICOLON . (string_primary . 3)))
227 ((default . error) (RIGHT_PAREN . (string_primary . 2)) (COMMA . (string_primary . 2)) (AMPERSAND . (string_primary . 2)) (SEMICOLON . (string_primary . 2)))
228 ((default . error) (RIGHT_PAREN . (string_primary . 1)) (COMMA . (string_primary . 1)) (AMPERSAND . (string_primary . 1)) (SEMICOLON . (string_primary . 1)) (DOT . 34) (QUOTE . (attribute_prefix . 1)))
229 ((default . error) (SEMICOLON . (string_list . 0)) (RIGHT_PAREN . (string_list . 0)) (COMMA . (string_list . 0)) (AMPERSAND . 33))
230 ((default . error) (COMMA . (string_expression . 0)) (RIGHT_PAREN . (string_expression . 0)) (SEMICOLON . (string_expression . 0)) (AMPERSAND . (string_expression . 0)))
231 ((default . error) (COMMA . 31) (SEMICOLON . 32))
232 ((default . error) (IS . 30))
233 ((default . error) (PROJECT . (project_qualifier_opt . 4)))
234 ((default . error) (TYPE . 50) (IDENTIFIER . 45) (NULL . 48) (CASE . 46) (FOR . 47) (PACKAGE . 49))
235 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (IDENTIFIER . 16) (PROJECT . 20))
236 ((default . error) (WITH . (with_clause . 0)) (ABSTRACT . (with_clause . 0)) (AGGREGATE . (with_clause . 0)) (CONFIGURATION . (with_clause . 0)) (LIBRARY . (with_clause . 0)) (STANDARD . (with_clause . 0)) (PROJECT . (with_clause . 0)))
237 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (IDENTIFIER . 16) (PROJECT . 20))
238 ((default . error) (IDENTIFIER . 42))
239 ((default . error) (IDENTIFIER . 41))
240 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (IDENTIFIER . 16) (PROJECT . 20))
241 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (IDENTIFIER . 16) (PROJECT . 20))
242 ((default . error) ($EOI . (compilation_unit . 0)))
243 ((default . error) (COMMA . 31) (RIGHT_PAREN . 70))
244 ((default . error) (COMMA . 31) (RIGHT_PAREN . 69))
245 ((default . error) (LEFT_PAREN . 68) (COMMA . (attribute_reference . 0)) (RIGHT_PAREN . (attribute_reference . 0)) (SEMICOLON . (attribute_reference . 0)) (AMPERSAND . (attribute_reference . 0)))
246 ((default . error) (IS . (name . 1)) (COMMA . (name . 1)) (RIGHT_PAREN . (name . 1)) (SEMICOLON . (name . 1)) (AMPERSAND . (name . 1)) (DOT . (name . 1)) (QUOTE . (name . 1)))
247 ((default . error) (SEMICOLON . (string_expression . 1)) (COMMA . (string_expression . 1)) (RIGHT_PAREN . (string_expression . 1)) (AMPERSAND . (string_expression . 1)))
248 ((default . error) (AMPERSAND . 33) (RIGHT_PAREN . (string_list . 1)) (SEMICOLON . (string_list . 1)) (COMMA . (string_list . 1)))
249 ((default . error) (COLON . 66) (COLON_EQUALS . 67))
250 ((default . error) (IDENTIFIER . 16))
251 ((default . error) (IDENTIFIER . 64))
252 ((default . error) (SEMICOLON . 63))
253 ((default . error) (IDENTIFIER . 62))
254 ((default . error) (IDENTIFIER . 61))
255 ((default . error) (WHEN . (simple_declarative_item . 2)) (END . (simple_declarative_item . 2)) (IDENTIFIER . (simple_declarative_item . 2)) (CASE . (simple_declarative_item . 2)) (FOR . (simple_declarative_item . 2)) (NULL . (simple_declarative_item . 2)) (PACKAGE . (simple_declarative_item . 2)) (TYPE . (simple_declarative_item . 2)))
256 ((default . error) (WHEN . (simple_declarative_item . 3)) (END . (simple_declarative_item . 3)) (IDENTIFIER . (simple_declarative_item . 3)) (CASE . (simple_declarative_item . 3)) (FOR . (simple_declarative_item . 3)) (NULL . (simple_declarative_item . 3)) (PACKAGE . (simple_declarative_item . 3)) (TYPE . (simple_declarative_item . 3)))
257 ((default . error) (WHEN . (declarative_items . 0)) (END . (declarative_items . 0)) (IDENTIFIER . (declarative_items . 0)) (CASE . (declarative_items . 0)) (FOR . (declarative_items . 0)) (NULL . (declarative_items . 0)) (PACKAGE . (declarative_items . 0)) (TYPE . (declarative_items . 0)))
258 ((default . error) (END . 59) (TYPE . 50) (IDENTIFIER . 45) (NULL . 48) (CASE . 46) (FOR . 47) (PACKAGE . 49))
259 ((default . error) (WHEN . (declarative_item . 2)) (END . (declarative_item . 2)) (TYPE . (declarative_item . 2)) (PACKAGE . (declarative_item . 2)) (NULL . (declarative_item . 2)) (FOR . (declarative_item . 2)) (CASE . (declarative_item . 2)) (IDENTIFIER . (declarative_item . 2)))
260 ((default . error) (WHEN . (package_declaration . 0)) (END . (package_declaration . 0)) (IDENTIFIER . (package_declaration . 0)) (CASE . (package_declaration . 0)) (FOR . (package_declaration . 0)) (NULL . (package_declaration . 0)) (PACKAGE . (package_declaration . 0)) (TYPE . (package_declaration . 0)))
261 ((default . error) (WHEN . (declarative_item . 0)) (END . (declarative_item . 0)) (TYPE . (declarative_item . 0)) (PACKAGE . (declarative_item . 0)) (NULL . (declarative_item . 0)) (FOR . (declarative_item . 0)) (CASE . (declarative_item . 0)) (IDENTIFIER . (declarative_item . 0)))
262 ((default . error) (WHEN . (declarative_item . 1)) (END . (declarative_item . 1)) (TYPE . (declarative_item . 1)) (PACKAGE . (declarative_item . 1)) (NULL . (declarative_item . 1)) (FOR . (declarative_item . 1)) (CASE . (declarative_item . 1)) (IDENTIFIER . (declarative_item . 1)))
263 ((default . error) (IDENTIFIER . 82))
264 ((default . error) (WHEN . (declarative_items . 1)) (TYPE . (declarative_items . 1)) (PACKAGE . (declarative_items . 1)) (NULL . (declarative_items . 1)) (FOR . (declarative_items . 1)) (CASE . (declarative_items . 1)) (IDENTIFIER . (declarative_items . 1)) (END . (declarative_items . 1)))
265 ((default . error) (IS . 81))
266 ((default . error) (IS . 80))
267 ((default . error) (WHEN . (simple_declarative_item . 4)) (TYPE . (simple_declarative_item . 4)) (PACKAGE . (simple_declarative_item . 4)) (NULL . (simple_declarative_item . 4)) (FOR . (simple_declarative_item . 4)) (CASE . (simple_declarative_item . 4)) (IDENTIFIER . (simple_declarative_item . 4)) (END . (simple_declarative_item . 4)))
268 ((default . error) (USE . 79) (LEFT_PAREN . 78))
269 ((default . error) (DOT . 34) (IS . 77))
270 ((default . error) (IDENTIFIER . 76))
271 ((default . error) (LEFT_PAREN . 72) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (IDENTIFIER . 16) (PROJECT . 20))
272 ((default . error) (STRING_LITERAL . 71))
273 ((default . error) (AMPERSAND . (external_value . 1)) (SEMICOLON . (external_value . 1)) (RIGHT_PAREN . (external_value . 1)) (COMMA . (external_value . 1)))
274 ((default . error) (AMPERSAND . (external_value . 0)) (SEMICOLON . (external_value . 0)) (RIGHT_PAREN . (external_value . 0)) (COMMA . (external_value . 0)))
275 ((default . error) (RIGHT_PAREN . 97))
276 ((default . error) (RIGHT_PAREN . 95) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (IDENTIFIER . 16) (PROJECT . 20))
277 ((default . error) (AMPERSAND . 93) (SEMICOLON . 94))
278 ((default . error) (SEMICOLON . (term . 0)) (AMPERSAND . ((term . 0) 33)))
279 ((default . error) (SEMICOLON . (expression . 0)) (AMPERSAND . (expression . 0)))
280 ((default . error) (COLON_EQUALS . 92))
281 ((default . error) (WHEN . 89))
282 ((default . error) (STRING_LITERAL . 88))
283 ((default . error) (LEFT_PAREN . 72) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (IDENTIFIER . 16) (PROJECT . 20))
284 ((default . error) (IDENTIFIER . 45) (NULL . 48) (CASE . 46) (FOR . 47))
285 ((default . error) (LEFT_PAREN . 84))
286 ((default . error) (SEMICOLON . 83))
287 ((default . error) ($EOI . (simple_project_declaration . 0)))
288 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (IDENTIFIER . 16) (PROJECT . 20))
289 ((default . error) (END . (simple_declarative_items . 0)) (IDENTIFIER . (simple_declarative_items . 0)) (CASE . (simple_declarative_items . 0)) (FOR . (simple_declarative_items . 0)) (NULL . (simple_declarative_items . 0)))
290 ((default . error) (END . 109) (IDENTIFIER . 45) (NULL . 48) (CASE . 46) (FOR . 47))
291 ((default . error) (AMPERSAND . 93) (SEMICOLON . 108))
292 ((default . error) (RIGHT_PAREN . 107))
293 ((default . error) (STRING_LITERAL . 103) (OTHERS . 104))
294 ((default . error) (END . (case_items . 0)) (WHEN . (case_items . 0)))
295 ((default . error) (END . 101) (WHEN . 89))
296 ((default . error) (LEFT_PAREN . 72) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (IDENTIFIER . 16) (PROJECT . 20))
297 ((default . error) (LEFT_PAREN . 72) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (IDENTIFIER . 16) (PROJECT . 20))
298 ((default . error) (WHEN . (simple_declarative_item . 0)) (TYPE . (simple_declarative_item . 0)) (PACKAGE . (simple_declarative_item . 0)) (NULL . (simple_declarative_item . 0)) (FOR . (simple_declarative_item . 0)) (CASE . (simple_declarative_item . 0)) (IDENTIFIER . (simple_declarative_item . 0)) (END . (simple_declarative_item . 0)))
299 ((default . error) (SEMICOLON . (term . 1)) (AMPERSAND . (term . 1)))
300 ((default . error) (COMMA . 31) (RIGHT_PAREN . 98))
301 ((default . error) (AMPERSAND . (attribute_reference . 1)) (SEMICOLON . (attribute_reference . 1)) (RIGHT_PAREN . (attribute_reference . 1)) (COMMA . (attribute_reference . 1)))
302 ((default . error) (AMPERSAND . (term . 2)) (SEMICOLON . (term . 2)))
303 ((default . error) (SEMICOLON . (expression . 1)) (AMPERSAND . (expression . 1)))
304 ((default . error) (AMPERSAND . 93) (SEMICOLON . 118))
305 ((default . error) (CASE . 117))
306 ((default . error) (WHEN . (case_items . 1)) (END . (case_items . 1)))
307 ((default . error) (VERTICAL_BAR . (discrete_choice . 0)) (EQUAL_GREATER . (discrete_choice . 0)))
308 ((default . error) (VERTICAL_BAR . (discrete_choice . 1)) (EQUAL_GREATER . (discrete_choice . 1)))
309 ((default . error) (EQUAL_GREATER . (discrete_choice_list . 0)) (VERTICAL_BAR . (discrete_choice_list . 0)))
310 ((default . error) (VERTICAL_BAR . 116) (EQUAL_GREATER . 115))
311 ((default . error) (USE . 114))
312 ((default . error) (WHEN . (attribute_declaration . 0)) (END . (attribute_declaration . 0)) (TYPE . (attribute_declaration . 0)) (PACKAGE . (attribute_declaration . 0)) (NULL . (attribute_declaration . 0)) (FOR . (attribute_declaration . 0)) (CASE . (attribute_declaration . 0)) (IDENTIFIER . (attribute_declaration . 0)))
313 ((default . error) (IDENTIFIER . 113))
314 ((default . error) (NULL . (simple_declarative_items . 1)) (FOR . (simple_declarative_items . 1)) (CASE . (simple_declarative_items . 1)) (IDENTIFIER . (simple_declarative_items . 1)) (END . (simple_declarative_items . 1)))
315 ((default . error) (COMMA . 31) (RIGHT_PAREN . 112))
316 ((default . error) (SEMICOLON . 124))
317 ((default . error) (SEMICOLON . 123))
318 ((default . error) (LEFT_PAREN . 72) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (IDENTIFIER . 16) (PROJECT . 20))
319 ((default . error) (TYPE . 50) (IDENTIFIER . 45) (NULL . 48) (CASE . 46) (FOR . 47) (PACKAGE . 49))
320 ((default . error) (STRING_LITERAL . 103) (OTHERS . 104))
321 ((default . error) (SEMICOLON . 119))
322 ((default . error) (WHEN . (simple_declarative_item . 1)) (TYPE . (simple_declarative_item . 1)) (PACKAGE . (simple_declarative_item . 1)) (NULL . (simple_declarative_item . 1)) (FOR . (simple_declarative_item . 1)) (CASE . (simple_declarative_item . 1)) (IDENTIFIER . (simple_declarative_item . 1)) (END . (simple_declarative_item . 1)))
323 ((default . error) (WHEN . (case_statement . 0)) (END . (case_statement . 0)) (TYPE . (case_statement . 0)) (PACKAGE . (case_statement . 0)) (NULL . (case_statement . 0)) (FOR . (case_statement . 0)) (CASE . (case_statement . 0)) (IDENTIFIER . (case_statement . 0)))
324 ((default . error) (EQUAL_GREATER . (discrete_choice_list . 1)) (VERTICAL_BAR . (discrete_choice_list . 1)))
325 ((default . error) (END . (case_item . 0)) (WHEN . (case_item . 0)) (TYPE . 50) (IDENTIFIER . 45) (NULL . 48) (CASE . 46) (FOR . 47) (PACKAGE . 49))
326 ((default . error) (AMPERSAND . 93) (SEMICOLON . 125))
327 ((default . error) (WHEN . (package_spec . 0)) (END . (package_spec . 0)) (TYPE . (package_spec . 0)) (PACKAGE . (package_spec . 0)) (NULL . (package_spec . 0)) (FOR . (package_spec . 0)) (CASE . (package_spec . 0)) (IDENTIFIER . (package_spec . 0)))
328 ((default . error) (WHEN . (typed_string_declaration . 0)) (END . (typed_string_declaration . 0)) (IDENTIFIER . (typed_string_declaration . 0)) (CASE . (typed_string_declaration . 0)) (FOR . (typed_string_declaration . 0)) (NULL . (typed_string_declaration . 0)) (PACKAGE . (typed_string_declaration . 0)) (TYPE . (typed_string_declaration . 0)))
329 ((default . error) (WHEN . (attribute_declaration . 1)) (IDENTIFIER . (attribute_declaration . 1)) (CASE . (attribute_declaration . 1)) (FOR . (attribute_declaration . 1)) (NULL . (attribute_declaration . 1)) (PACKAGE . (attribute_declaration . 1)) (TYPE . (attribute_declaration . 1)) (END . (attribute_declaration . 1)))]
330 [((compilation_unit . 8)(context_clause . 9)(context_clause_opt . 10)(simple_project_declaration . 11)(with_clause . 12))
331 nil
332 nil
333 nil
334 nil
335 nil
336 nil
337 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(name . 24)(string_expression . 25)(string_primary . 26)(string_list . 27))
338 nil
339 ((with_clause . 14))
340 ((project_qualifier_opt . 13))
341 nil
342 nil
343 ((project_declaration . 38)(simple_project_declaration . 11))
344 nil
345 nil
346 nil
347 nil
348 nil
349 nil
350 nil
351 nil
352 nil
353 nil
354 nil
355 nil
356 nil
357 nil
358 nil
359 nil
360 ((attribute_declaration . 51)(case_statement . 52)(declarative_item . 53)(declarative_items . 54)(package_declaration . 55)(package_spec . 56)(simple_declarative_item . 57)(typed_string_declaration . 58))
361 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(name . 24)(string_expression . 44)(string_primary . 26))
362 nil
363 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(name . 24)(string_primary . 43))
364 nil
365 nil
366 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(name . 24)(string_expression . 25)(string_primary . 26)(string_list . 40))
367 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(name . 24)(string_expression . 25)(string_primary . 26)(string_list . 39))
368 nil
369 nil
370 nil
371 nil
372 nil
373 nil
374 nil
375 nil
376 ((name . 65))
377 nil
378 nil
379 nil
380 nil
381 nil
382 nil
383 nil
384 ((attribute_declaration . 51)(case_statement . 52)(declarative_item . 60)(package_declaration . 55)(package_spec . 56)(simple_declarative_item . 57)(typed_string_declaration . 58))
385 nil
386 nil
387 nil
388 nil
389 nil
390 nil
391 nil
392 nil
393 nil
394 nil
395 nil
396 nil
397 ((attribute_prefix . 21)(attribute_reference . 22)(expression . 73)(external_value . 23)(name . 24)(string_expression . 74)(string_primary . 26)(term . 75))
398 nil
399 nil
400 nil
401 nil
402 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(name . 24)(string_expression . 25)(string_primary . 26)(string_list . 96))
403 nil
404 nil
405 nil
406 nil
407 ((case_item . 90)(case_items . 91))
408 nil
409 ((attribute_prefix . 21)(attribute_reference . 22)(expression . 87)(external_value . 23)(name . 24)(string_expression . 74)(string_primary . 26)(term . 75))
410 ((attribute_declaration . 51)(case_statement . 52)(simple_declarative_item . 85)(simple_declarative_items . 86))
411 nil
412 nil
413 nil
414 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(name . 24)(string_expression . 25)(string_primary . 26)(string_list . 111))
415 nil
416 ((attribute_declaration . 51)(case_statement . 52)(simple_declarative_item . 110))
417 nil
418 nil
419 ((discrete_choice . 105)(discrete_choice_list . 106))
420 nil
421 ((case_item . 102))
422 ((attribute_prefix . 21)(attribute_reference . 22)(expression . 100)(external_value . 23)(name . 24)(string_expression . 74)(string_primary . 26)(term . 75))
423 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(name . 24)(string_expression . 74)(string_primary . 26)(term . 99))
424 nil
425 nil
426 nil
427 nil
428 nil
429 nil
430 nil
431 nil
432 nil
433 nil
434 nil
435 nil
436 nil
437 nil
438 nil
439 nil
440 nil
441 nil
442 nil
443 nil
444 ((attribute_prefix . 21)(attribute_reference . 22)(expression . 122)(external_value . 23)(name . 24)(string_expression . 74)(string_primary . 26)(term . 75))
445 ((attribute_declaration . 51)(case_statement . 52)(declarative_item . 53)(declarative_items . 121)(package_declaration . 55)(package_spec . 56)(simple_declarative_item . 57)(typed_string_declaration . 58))
446 ((discrete_choice . 120))
447 nil
448 nil
449 nil
450 nil
451 ((attribute_declaration . 51)(case_statement . 52)(declarative_item . 60)(package_declaration . 55)(package_spec . 56)(simple_declarative_item . 57)(typed_string_declaration . 58))
452 nil
453 nil
454 nil
455 nil]))
456 "Parser table.")
457
458 (provide 'gpr-grammar-wy)
459
460 ;; end of file