1 ;;; gpr-grammar-wy.el --- Generated parser support file
3 ;; Copyright (C) 2013 - 2015 Free Software Foundation, Inc.
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 3, or (at
8 ;; your option) any later version.
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.
15 ;; You should have received a copy of the GNU General Public License
16 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
19 (require 'semantic/lex)
20 (require 'wisi-compile)
22 (defconst gpr-grammar-wy--keyword-table
23 (semantic-lex-make-keyword-table
25 ("abstract" . ABSTRACT)
26 ("aggregate" . AGGREGATE)
28 ("configuration" . CONFIGURATION)
31 ("external" . EXTERNAL)
32 ("external_as_list" . EXTERNAL_AS_LIST)
43 ("standard" . STANDARD)
50 "Table of language keywords.")
52 (defconst gpr-grammar-wy--token-table
53 (semantic-lex-make-type-table
61 (EQUAL_GREATER . "=>")
74 "Table of language tokens.")
76 (defconst gpr-grammar-wy--parse-table
78 '((AMPERSAND COLON COLON_EQUALS COMMA DOT EQUAL_GREATER QUOTE SEMICOLON VERTICAL_BAR IDENTIFIER STRING_LITERAL ABSTRACT AGGREGATE CASE CONFIGURATION END EXTENDS EXTERNAL EXTERNAL_AS_LIST FOR IS LEFT_PAREN LIBRARY NULL OTHERS PACKAGE PROJECT RENAMES RIGHT_PAREN STANDARD TYPE USE WHEN WITH )
80 ((LEFT_PAREN string_list RIGHT_PAREN )
82 (wisi-statement-action [1 open-paren 3 close-paren])
83 (wisi-containing-action 1 2))))
84 (attribute_declaration
85 ((FOR IDENTIFIER USE expression SEMICOLON )
87 (wisi-statement-action [1 statement-start 3 statement-other 5 statement-end])
88 (wisi-containing-action 3 4)))
89 ((FOR IDENTIFIER LEFT_PAREN STRING_LITERAL RIGHT_PAREN USE expression SEMICOLON )
91 (wisi-statement-action [1 statement-start 3 open-paren 5 close-paren 6 statement-other 8 statement-end])
92 (wisi-containing-action 6 7)))
93 ((FOR EXTERNAL LEFT_PAREN STRING_LITERAL RIGHT_PAREN USE expression SEMICOLON )
95 (wisi-statement-action [1 statement-start 3 open-paren 5 close-paren 6 statement-other 8 statement-end])
96 (wisi-containing-action 6 7))))
101 ((attribute_prefix QUOTE IDENTIFIER ))
102 ((attribute_prefix QUOTE IDENTIFIER LEFT_PAREN STRING_LITERAL RIGHT_PAREN )
103 (wisi-statement-action [4 open-paren 6 close-paren])))
105 ((CASE name IS case_items END CASE SEMICOLON )
107 (wisi-statement-action [1 statement-start 3 block-start 5 block-end 7 statement-end])
108 (wisi-containing-action 3 4))))
110 ((WHEN discrete_choice_list EQUAL_GREATER declarative_items_opt )
112 (wisi-statement-action [1 block-middle 3 block-start])
113 (wisi-containing-action 1 3)
114 (wisi-containing-action 3 4))))
118 ((case_items case_item )))
120 ((context_clause_opt project_qualifier_opt project_declaration_opt )))
123 ((context_clause with_clause )))
128 ((simple_declarative_item ))
129 ((typed_string_declaration ))
130 ((package_declaration )))
132 ((declarative_item ))
133 ((declarative_items declarative_item )))
134 (declarative_items_opt
136 ((declarative_items )))
141 (discrete_choice_list
143 ((discrete_choice_list VERTICAL_BAR discrete_choice )))
146 ((expression AMPERSAND term )))
148 ((EXTERNAL aggregate ))
149 ((EXTERNAL_AS_LIST aggregate )))
155 ((name DOT IDENTIFIER )))
156 (project_declaration_opt
158 ((simple_project_declaration ))
159 ((project_extension )))
162 ((package_extension ))
163 ((package_renaming )))
165 ((PACKAGE identifier_opt IS declarative_items_opt END identifier_opt SEMICOLON )
167 (wisi-statement-action [1 statement-start 3 block-start 5 block-end 7 statement-end])
168 (wisi-containing-action 3 4))))
170 ((PACKAGE identifier_opt EXTENDS name IS declarative_items_opt END identifier_opt SEMICOLON )
172 (wisi-statement-action [1 statement-start 5 block-start 7 block-end 9 statement-end])
173 (wisi-containing-action 5 6))))
175 ((PACKAGE identifier_opt RENAMES name SEMICOLON )
177 (wisi-statement-action [1 statement-start 3 statement-other 5 statement-end])
178 (wisi-containing-action 3 4))))
180 ((PROJECT identifier_opt EXTENDS STRING_LITERAL IS declarative_items_opt END identifier_opt SEMICOLON )
182 (wisi-statement-action [1 statement-start 5 block-start 7 block-end 9 statement-end])
183 (wisi-containing-action 5 6))))
184 (project_qualifier_opt
189 ((AGGREGATE LIBRARY ))
192 (simple_declarative_item
193 ((IDENTIFIER COLON_EQUALS expression SEMICOLON )
195 (wisi-statement-action [1 statement-start 4 statement-end])
196 (wisi-containing-action 1 3)))
197 ((IDENTIFIER COLON IDENTIFIER COLON_EQUALS expression SEMICOLON )
199 (wisi-statement-action [1 statement-start 6 statement-end])
200 (wisi-containing-action 1 5)))
201 ((attribute_declaration ))
204 (wisi-statement-action [1 statement-start 2 statement-end])))
205 (simple_project_declaration
206 ((PROJECT identifier_opt IS declarative_items_opt END identifier_opt SEMICOLON )
208 (wisi-statement-action [1 statement-start 3 block-start 5 block-end 7 statement-end])
209 (wisi-containing-action 3 4))))
216 ((attribute_reference )))
219 ((string_list COMMA expression )
221 (wisi-statement-action [2 list-break])
222 (wisi-containing-action 2 3))))
224 ((string_expression ))
225 ((LEFT_PAREN RIGHT_PAREN ))
227 (typed_string_declaration
228 ((TYPE IDENTIFIER IS aggregate SEMICOLON )
230 (wisi-statement-action [1 statement-start 5 statement-end])
231 (wisi-containing-action 1 4))))
233 ((WITH string_list SEMICOLON ))))
234 [((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)) ($EOI . (context_clause_opt . 0)) (WITH . 7))
235 ((default . error) ($EOI . (project_qualifier_opt . 1)) (PROJECT . (project_qualifier_opt . 1)))
236 ((default . error) (LIBRARY . 35) ($EOI . (project_qualifier_opt . 3)) (PROJECT . (project_qualifier_opt . 3)))
237 ((default . error) ($EOI . (project_qualifier_opt . 6)) (PROJECT . (project_qualifier_opt . 6)))
238 ((default . error) ($EOI . (project_qualifier_opt . 5)) (PROJECT . (project_qualifier_opt . 5)))
239 ((default . error) (EXTENDS . (identifier_opt . 0)) (IS . (identifier_opt . 0)) (IDENTIFIER . 21))
240 ((default . error) ($EOI . (project_qualifier_opt . 2)) (PROJECT . (project_qualifier_opt . 2)))
241 ((default . error) (LEFT_PAREN . 19) (STRING_LITERAL . 22) (EXTERNAL . 17) (EXTERNAL_AS_LIST . 18) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (COMMA . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 21) (PROJECT . 20))
242 ((default . error) ($EOI . 16))
243 ((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)) ($EOI . (context_clause_opt . 1)) (WITH . 7))
244 ((default . error) (PROJECT . (project_qualifier_opt . 0)) ($EOI . (project_qualifier_opt . 0)) (ABSTRACT . 1) (STANDARD . 6) (AGGREGATE . 2) (LIBRARY . 4) (CONFIGURATION . 3))
245 ((default . error) ($EOI . (project_declaration_opt . 2)))
246 ((default . error) ($EOI . (project_declaration_opt . 1)))
247 ((default . error) ($EOI . (context_clause . 0)) (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)))
248 ((default . error) ($EOI . (project_declaration_opt . 0)) (PROJECT . 5))
249 ((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)) ($EOI . (context_clause . 1)))
250 ((default . error) ($EOI . 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) (WITH . accept) (WHEN . accept) (USE . accept) (TYPE . accept) (STANDARD . accept) (RIGHT_PAREN . accept) (RENAMES . accept) (PROJECT . accept) (PACKAGE . accept) (OTHERS . accept) (NULL . accept) (LIBRARY . accept) (LEFT_PAREN . accept) (IS . accept) (FOR . accept) (EXTERNAL_AS_LIST . accept) (EXTERNAL . accept) (EXTENDS . accept) (END . accept) (CONFIGURATION . accept) (CASE . accept) (AGGREGATE . accept) (ABSTRACT . accept))
251 ((default . error) (LEFT_PAREN . 45))
252 ((default . error) (LEFT_PAREN . 45))
253 ((default . error) (LEFT_PAREN . 19) (STRING_LITERAL . 22) (EXTERNAL . 17) (EXTERNAL_AS_LIST . 18) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (RIGHT_PAREN . ( 43 (identifier_opt . 0))) (COMMA . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 21) (PROJECT . 20))
254 ((default . error) (QUOTE . (attribute_prefix . 0)))
255 ((default . error) (RIGHT_PAREN . (identifier_opt . 1)) (COMMA . (identifier_opt . 1)) (EXTENDS . (identifier_opt . 1)) (RENAMES . (identifier_opt . 1)) (IS . (identifier_opt . 1)) (DOT . (identifier_opt . 1)) (AMPERSAND . (identifier_opt . 1)) (QUOTE . (identifier_opt . 1)) (SEMICOLON . (identifier_opt . 1)))
256 ((default . error) (RIGHT_PAREN . (string_primary . 0)) (COMMA . (string_primary . 0)) (AMPERSAND . (string_primary . 0)) (SEMICOLON . (string_primary . 0)))
257 ((default . error) (RIGHT_PAREN . (term . 2)) (COMMA . (term . 2)) (AMPERSAND . (term . 2)) (SEMICOLON . (term . 2)))
258 ((default . error) (QUOTE . 42))
259 ((default . error) (RIGHT_PAREN . (string_primary . 3)) (COMMA . (string_primary . 3)) (AMPERSAND . (string_primary . 3)) (SEMICOLON . (string_primary . 3)))
260 ((default . error) (SEMICOLON . (string_list . 0)) (RIGHT_PAREN . (string_list . 0)) (COMMA . (string_list . 0)) (AMPERSAND . 41))
261 ((default . error) (RIGHT_PAREN . (string_primary . 2)) (COMMA . (string_primary . 2)) (AMPERSAND . (string_primary . 2)) (SEMICOLON . (string_primary . 2)))
262 ((default . error) (COMMA . (name . 0)) (RIGHT_PAREN . (name . 0)) (IS . (name . 0)) (SEMICOLON . (name . 0)) (AMPERSAND . (name . 0)) (DOT . (name . 0)) (QUOTE . (name . 0)))
263 ((default . error) (RIGHT_PAREN . (string_primary . 1)) (COMMA . (string_primary . 1)) (AMPERSAND . (string_primary . 1)) (SEMICOLON . (string_primary . 1)) (DOT . 40) (QUOTE . (attribute_prefix . 1)))
264 ((default . error) (RIGHT_PAREN . (term . 0)) (COMMA . (term . 0)) (AMPERSAND . (term . 0)) (SEMICOLON . (term . 0)))
265 ((default . error) (COMMA . (string_expression . 0)) (RIGHT_PAREN . (string_expression . 0)) (SEMICOLON . (string_expression . 0)) (AMPERSAND . (string_expression . 0)))
266 ((default . error) (COMMA . 38) (SEMICOLON . 39))
267 ((default . error) (COMMA . (expression . 0)) (RIGHT_PAREN . (expression . 0)) (SEMICOLON . (expression . 0)) (AMPERSAND . (expression . 0)))
268 ((default . error) (EXTENDS . 36) (IS . 37))
269 ((default . error) ($EOI . (project_qualifier_opt . 4)) (PROJECT . (project_qualifier_opt . 4)))
270 ((default . error) (STRING_LITERAL . 71))
271 ((default . error) (END . (declarative_items_opt . 0)) (TYPE . 58) (IDENTIFIER . 59) (NULL . 56) (CASE . 54) (FOR . 55) (PACKAGE . 57))
272 ((default . error) (LEFT_PAREN . 19) (STRING_LITERAL . 22) (EXTERNAL . 17) (EXTERNAL_AS_LIST . 18) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (RIGHT_PAREN . (identifier_opt . 0)) (COMMA . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 21) (PROJECT . 20))
273 ((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)) ($EOI . (with_clause . 0)))
274 ((default . error) (IDENTIFIER . 52))
275 ((default . error) (LEFT_PAREN . 19) (STRING_LITERAL . 22) (EXTERNAL . 17) (EXTERNAL_AS_LIST . 18) (DOT . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (COMMA . (identifier_opt . 0)) (RIGHT_PAREN . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 21) (PROJECT . 20))
276 ((default . error) (IDENTIFIER . 50))
277 ((default . error) (SEMICOLON . (term . 1)) (AMPERSAND . (term . 1)) (COMMA . (term . 1)) (RIGHT_PAREN . (term . 1)))
278 ((default . error) (COMMA . 38) (RIGHT_PAREN . 49))
279 ((default . error) (LEFT_PAREN . 19) (STRING_LITERAL . 22) (EXTERNAL . 17) (EXTERNAL_AS_LIST . 18) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (RIGHT_PAREN . (identifier_opt . 0)) (COMMA . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 21) (PROJECT . 20))
280 ((default . error) (AMPERSAND . (external_value . 1)) (SEMICOLON . (external_value . 1)) (RIGHT_PAREN . (external_value . 1)) (COMMA . (external_value . 1)))
281 ((default . error) (AMPERSAND . (external_value . 0)) (SEMICOLON . (external_value . 0)) (RIGHT_PAREN . (external_value . 0)) (COMMA . (external_value . 0)))
282 ((default . error) ($EOI . (compilation_unit . 0)))
283 ((default . error) (COMMA . (aggregate . 0)) (RIGHT_PAREN . (aggregate . 0)) (SEMICOLON . (aggregate . 0)) (AMPERSAND . (aggregate . 0)))
284 ((default . error) (LEFT_PAREN . 83) (COMMA . (attribute_reference . 0)) (RIGHT_PAREN . (attribute_reference . 0)) (SEMICOLON . (attribute_reference . 0)) (AMPERSAND . (attribute_reference . 0)))
285 ((default . error) (SEMICOLON . (expression . 1)) (COMMA . (expression . 1)) (RIGHT_PAREN . (expression . 1)) (AMPERSAND . (expression . 1)))
286 ((default . error) (IS . (name . 1)) (COMMA . (name . 1)) (RIGHT_PAREN . (name . 1)) (SEMICOLON . (name . 1)) (AMPERSAND . (name . 1)) (DOT . (name . 1)) (QUOTE . (name . 1)))
287 ((default . error) (AMPERSAND . 41) (RIGHT_PAREN . (string_list . 1)) (SEMICOLON . (string_list . 1)) (COMMA . (string_list . 1)))
288 ((default . error) (DOT . (identifier_opt . 0)) (IS . (identifier_opt . 0)) (IDENTIFIER . 21))
289 ((default . error) (EXTERNAL . 80) (IDENTIFIER . 81))
290 ((default . error) (SEMICOLON . 79))
291 ((default . error) (IS . (identifier_opt . 0)) (EXTENDS . (identifier_opt . 0)) (RENAMES . (identifier_opt . 0)) (IDENTIFIER . 21))
292 ((default . error) (IDENTIFIER . 77))
293 ((default . error) (COLON . 75) (COLON_EQUALS . 76))
294 ((default . error) (WHEN . (simple_declarative_item . 2)) (END . (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)) (IDENTIFIER . (simple_declarative_item . 2)))
295 ((default . error) (WHEN . (simple_declarative_item . 3)) (END . (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)) (IDENTIFIER . (simple_declarative_item . 3)))
296 ((default . error) (WHEN . (declarative_items . 0)) (END . (declarative_items . 0)) (CASE . (declarative_items . 0)) (FOR . (declarative_items . 0)) (NULL . (declarative_items . 0)) (PACKAGE . (declarative_items . 0)) (TYPE . (declarative_items . 0)) (IDENTIFIER . (declarative_items . 0)))
297 ((default . error) (WHEN . (declarative_items_opt . 1)) (END . (declarative_items_opt . 1)) (TYPE . 58) (IDENTIFIER . 59) (NULL . 56) (CASE . 54) (FOR . 55) (PACKAGE . 57))
298 ((default . error) (END . 73))
299 ((default . error) (WHEN . (declarative_item . 2)) (END . (declarative_item . 2)) (IDENTIFIER . (declarative_item . 2)) (TYPE . (declarative_item . 2)) (PACKAGE . (declarative_item . 2)) (NULL . (declarative_item . 2)) (FOR . (declarative_item . 2)) (CASE . (declarative_item . 2)))
300 ((default . error) (WHEN . (package_declaration . 0)) (END . (package_declaration . 0)) (CASE . (package_declaration . 0)) (FOR . (package_declaration . 0)) (NULL . (package_declaration . 0)) (PACKAGE . (package_declaration . 0)) (TYPE . (package_declaration . 0)) (IDENTIFIER . (package_declaration . 0)))
301 ((default . error) (WHEN . (package_declaration . 1)) (END . (package_declaration . 1)) (CASE . (package_declaration . 1)) (FOR . (package_declaration . 1)) (NULL . (package_declaration . 1)) (PACKAGE . (package_declaration . 1)) (TYPE . (package_declaration . 1)) (IDENTIFIER . (package_declaration . 1)))
302 ((default . error) (WHEN . (package_declaration . 2)) (END . (package_declaration . 2)) (CASE . (package_declaration . 2)) (FOR . (package_declaration . 2)) (NULL . (package_declaration . 2)) (PACKAGE . (package_declaration . 2)) (TYPE . (package_declaration . 2)) (IDENTIFIER . (package_declaration . 2)))
303 ((default . error) (WHEN . (declarative_item . 0)) (END . (declarative_item . 0)) (IDENTIFIER . (declarative_item . 0)) (TYPE . (declarative_item . 0)) (PACKAGE . (declarative_item . 0)) (NULL . (declarative_item . 0)) (FOR . (declarative_item . 0)) (CASE . (declarative_item . 0)))
304 ((default . error) (WHEN . (declarative_item . 1)) (END . (declarative_item . 1)) (IDENTIFIER . (declarative_item . 1)) (TYPE . (declarative_item . 1)) (PACKAGE . (declarative_item . 1)) (NULL . (declarative_item . 1)) (FOR . (declarative_item . 1)) (CASE . (declarative_item . 1)))
305 ((default . error) (IS . 72))
306 ((default . error) (END . (declarative_items_opt . 0)) (TYPE . 58) (IDENTIFIER . 59) (NULL . 56) (CASE . 54) (FOR . 55) (PACKAGE . 57))
307 ((default . error) (SEMICOLON . (identifier_opt . 0)) (IDENTIFIER . 21))
308 ((default . error) (WHEN . (declarative_items . 1)) (IDENTIFIER . (declarative_items . 1)) (TYPE . (declarative_items . 1)) (PACKAGE . (declarative_items . 1)) (NULL . (declarative_items . 1)) (FOR . (declarative_items . 1)) (CASE . (declarative_items . 1)) (END . (declarative_items . 1)))
309 ((default . error) (IDENTIFIER . 94))
310 ((default . error) (LEFT_PAREN . 19) (STRING_LITERAL . 22) (EXTERNAL . 17) (EXTERNAL_AS_LIST . 18) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 21) (PROJECT . 20))
311 ((default . error) (IS . 92))
312 ((default . error) (IS . 90) (EXTENDS . 89) (RENAMES . 91))
313 ((default . error) (WHEN . (simple_declarative_item . 4)) (IDENTIFIER . (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)) (END . (simple_declarative_item . 4)))
314 ((default . error) (LEFT_PAREN . 88))
315 ((default . error) (USE . 87) (LEFT_PAREN . 86))
316 ((default . error) (DOT . 40) (IS . 85))
317 ((default . error) (STRING_LITERAL . 84))
318 ((default . error) (RIGHT_PAREN . 111))
319 ((default . error) (END . (case_items . 0)) (WHEN . ( 108 (case_items . 0))))
320 ((default . error) (STRING_LITERAL . 107))
321 ((default . error) (LEFT_PAREN . 19) (STRING_LITERAL . 22) (EXTERNAL . 17) (EXTERNAL_AS_LIST . 18) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 21) (PROJECT . 20))
322 ((default . error) (STRING_LITERAL . 105))
323 ((default . error) (DOT . (identifier_opt . 0)) (IS . (identifier_opt . 0)) (IDENTIFIER . 21))
324 ((default . error) (END . (declarative_items_opt . 0)) (TYPE . 58) (IDENTIFIER . 59) (NULL . 56) (CASE . 54) (FOR . 55) (PACKAGE . 57))
325 ((default . error) (DOT . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (IDENTIFIER . 21))
326 ((default . error) (LEFT_PAREN . 45))
327 ((default . error) (AMPERSAND . 41) (SEMICOLON . 100))
328 ((default . error) (COLON_EQUALS . 99))
329 ((default . error) (SEMICOLON . 98))
330 ((default . error) (END . 97))
331 ((default . error) (SEMICOLON . (identifier_opt . 0)) (IDENTIFIER . 21))
332 ((default . error) ($EOI . (simple_project_declaration . 0)))
333 ((default . error) (LEFT_PAREN . 19) (STRING_LITERAL . 22) (EXTERNAL . 17) (EXTERNAL_AS_LIST . 18) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 21) (PROJECT . 20))
334 ((default . error) (WHEN . (simple_declarative_item . 0)) (IDENTIFIER . (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)) (END . (simple_declarative_item . 0)))
335 ((default . error) (SEMICOLON . 124))
336 ((default . error) (DOT . 40) (SEMICOLON . 123))
337 ((default . error) (END . 122))
338 ((default . error) (DOT . 40) (IS . 121))
339 ((default . error) (RIGHT_PAREN . 120))
340 ((default . error) (AMPERSAND . 41) (SEMICOLON . 119))
341 ((default . error) (RIGHT_PAREN . 118))
342 ((default . error) (VERTICAL_BAR . (discrete_choice . 0)) (EQUAL_GREATER . (discrete_choice . 0)) (STRING_LITERAL . 115) (OTHERS . 114))
343 ((default . error) (END . (case_items . 1)) (WHEN . (case_items . 1)))
344 ((default . error) (END . 112) (WHEN . 108))
345 ((default . error) (AMPERSAND . (attribute_reference . 1)) (SEMICOLON . (attribute_reference . 1)) (RIGHT_PAREN . (attribute_reference . 1)) (COMMA . (attribute_reference . 1)))
346 ((default . error) (CASE . 135))
347 ((default . error) (WHEN . (case_items . 2)) (END . (case_items . 2)))
348 ((default . error) (VERTICAL_BAR . (discrete_choice . 2)) (EQUAL_GREATER . (discrete_choice . 2)))
349 ((default . error) (VERTICAL_BAR . (discrete_choice . 1)) (EQUAL_GREATER . (discrete_choice . 1)))
350 ((default . error) (EQUAL_GREATER . (discrete_choice_list . 0)) (VERTICAL_BAR . (discrete_choice_list . 0)))
351 ((default . error) (VERTICAL_BAR . 134) (EQUAL_GREATER . 133))
352 ((default . error) (USE . 132))
353 ((default . error) (WHEN . (attribute_declaration . 0)) (END . (attribute_declaration . 0)) (IDENTIFIER . (attribute_declaration . 0)) (TYPE . (attribute_declaration . 0)) (PACKAGE . (attribute_declaration . 0)) (NULL . (attribute_declaration . 0)) (FOR . (attribute_declaration . 0)) (CASE . (attribute_declaration . 0)))
354 ((default . error) (USE . 131))
355 ((default . error) (END . (declarative_items_opt . 0)) (TYPE . 58) (IDENTIFIER . 59) (NULL . 56) (CASE . 54) (FOR . 55) (PACKAGE . 57))
356 ((default . error) (SEMICOLON . (identifier_opt . 0)) (IDENTIFIER . 21))
357 ((default . error) (WHEN . (package_renaming . 0)) (END . (package_renaming . 0)) (IDENTIFIER . (package_renaming . 0)) (TYPE . (package_renaming . 0)) (PACKAGE . (package_renaming . 0)) (NULL . (package_renaming . 0)) (FOR . (package_renaming . 0)) (CASE . (package_renaming . 0)))
358 ((default . error) (WHEN . (typed_string_declaration . 0)) (END . (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)) (IDENTIFIER . (typed_string_declaration . 0)))
359 ((default . error) (AMPERSAND . 41) (SEMICOLON . 128))
360 ((default . error) (SEMICOLON . 127))
361 ((default . error) ($EOI . (project_extension . 0)))
362 ((default . error) (WHEN . (simple_declarative_item . 1)) (IDENTIFIER . (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)) (END . (simple_declarative_item . 1)))
363 ((default . error) (SEMICOLON . 142))
364 ((default . error) (END . 141))
365 ((default . error) (LEFT_PAREN . 19) (STRING_LITERAL . 22) (EXTERNAL . 17) (EXTERNAL_AS_LIST . 18) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 21) (PROJECT . 20))
366 ((default . error) (LEFT_PAREN . 19) (STRING_LITERAL . 22) (EXTERNAL . 17) (EXTERNAL_AS_LIST . 18) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 21) (PROJECT . 20))
367 ((default . error) (END . (declarative_items_opt . 0)) (WHEN . (declarative_items_opt . 0)) (TYPE . 58) (IDENTIFIER . 59) (NULL . 56) (CASE . 54) (FOR . 55) (PACKAGE . 57))
368 ((default . error) (EQUAL_GREATER . (discrete_choice . 0)) (VERTICAL_BAR . (discrete_choice . 0)) (STRING_LITERAL . 115) (OTHERS . 114))
369 ((default . error) (SEMICOLON . 136))
370 ((default . error) (WHEN . (case_statement . 0)) (END . (case_statement . 0)) (IDENTIFIER . (case_statement . 0)) (TYPE . (case_statement . 0)) (PACKAGE . (case_statement . 0)) (NULL . (case_statement . 0)) (FOR . (case_statement . 0)) (CASE . (case_statement . 0)))
371 ((default . error) (EQUAL_GREATER . (discrete_choice_list . 1)) (VERTICAL_BAR . (discrete_choice_list . 1)))
372 ((default . error) (END . (case_item . 0)) (WHEN . (case_item . 0)))
373 ((default . error) (AMPERSAND . 41) (SEMICOLON . 145))
374 ((default . error) (AMPERSAND . 41) (SEMICOLON . 144))
375 ((default . error) (SEMICOLON . (identifier_opt . 0)) (IDENTIFIER . 21))
376 ((default . error) (WHEN . (package_spec . 0)) (END . (package_spec . 0)) (IDENTIFIER . (package_spec . 0)) (TYPE . (package_spec . 0)) (PACKAGE . (package_spec . 0)) (NULL . (package_spec . 0)) (FOR . (package_spec . 0)) (CASE . (package_spec . 0)))
377 ((default . error) (SEMICOLON . 146))
378 ((default . error) (WHEN . (attribute_declaration . 2)) (CASE . (attribute_declaration . 2)) (FOR . (attribute_declaration . 2)) (NULL . (attribute_declaration . 2)) (PACKAGE . (attribute_declaration . 2)) (TYPE . (attribute_declaration . 2)) (IDENTIFIER . (attribute_declaration . 2)) (END . (attribute_declaration . 2)))
379 ((default . error) (WHEN . (attribute_declaration . 1)) (CASE . (attribute_declaration . 1)) (FOR . (attribute_declaration . 1)) (NULL . (attribute_declaration . 1)) (PACKAGE . (attribute_declaration . 1)) (TYPE . (attribute_declaration . 1)) (IDENTIFIER . (attribute_declaration . 1)) (END . (attribute_declaration . 1)))
380 ((default . error) (WHEN . (package_extension . 0)) (END . (package_extension . 0)) (IDENTIFIER . (package_extension . 0)) (TYPE . (package_extension . 0)) (PACKAGE . (package_extension . 0)) (NULL . (package_extension . 0)) (FOR . (package_extension . 0)) (CASE . (package_extension . 0)))]
381 [((compilation_unit . 8)(context_clause . 9)(context_clause_opt . 10)(project_extension . 11)(simple_project_declaration . 12)(with_clause . 13))
386 ((identifier_opt . 34))
388 ((aggregate . 23)(attribute_prefix . 24)(attribute_reference . 25)(expression . 26)(external_value . 27)(identifier_opt . 28)(name . 29)(string_expression . 30)(string_primary . 31)(string_list . 32)(term . 33))
391 ((project_qualifier_opt . 14))
395 ((project_declaration_opt . 48)(project_extension . 11)(simple_project_declaration . 12))
400 ((aggregate . 23)(attribute_prefix . 24)(attribute_reference . 25)(expression . 26)(external_value . 27)(identifier_opt . 28)(name . 29)(string_expression . 30)(string_primary . 31)(string_list . 44)(term . 33))
418 ((attribute_declaration . 60)(case_statement . 61)(declarative_item . 62)(declarative_items . 63)(declarative_items_opt . 64)(package_declaration . 65)(package_spec . 66)(package_extension . 67)(package_renaming . 68)(simple_declarative_item . 69)(typed_string_declaration . 70))
419 ((aggregate . 23)(attribute_prefix . 24)(attribute_reference . 25)(expression . 53)(external_value . 27)(identifier_opt . 28)(name . 29)(string_expression . 30)(string_primary . 31)(term . 33))
422 ((aggregate . 23)(attribute_prefix . 24)(attribute_reference . 25)(external_value . 27)(identifier_opt . 28)(name . 29)(string_expression . 30)(string_primary . 31)(term . 51))
426 ((aggregate . 23)(attribute_prefix . 24)(attribute_reference . 25)(expression . 26)(external_value . 27)(identifier_opt . 28)(name . 29)(string_expression . 30)(string_primary . 31)(string_list . 44)(term . 33))
435 ((identifier_opt . 28)(name . 82))
438 ((identifier_opt . 78))
444 ((attribute_declaration . 60)(case_statement . 61)(declarative_item . 74)(package_declaration . 65)(package_spec . 66)(package_extension . 67)(package_renaming . 68)(simple_declarative_item . 69)(typed_string_declaration . 70))
453 ((attribute_declaration . 60)(case_statement . 61)(declarative_item . 62)(declarative_items . 63)(declarative_items_opt . 96)(package_declaration . 65)(package_spec . 66)(package_extension . 67)(package_renaming . 68)(simple_declarative_item . 69)(typed_string_declaration . 70))
454 ((identifier_opt . 95))
457 ((aggregate . 23)(attribute_prefix . 24)(attribute_reference . 25)(expression . 93)(external_value . 27)(identifier_opt . 28)(name . 29)(string_expression . 30)(string_primary . 31)(term . 33))
466 ((case_item . 109)(case_items . 110))
468 ((aggregate . 23)(attribute_prefix . 24)(attribute_reference . 25)(expression . 106)(external_value . 27)(identifier_opt . 28)(name . 29)(string_expression . 30)(string_primary . 31)(term . 33))
470 ((identifier_opt . 28)(name . 104))
471 ((attribute_declaration . 60)(case_statement . 61)(declarative_item . 62)(declarative_items . 63)(declarative_items_opt . 103)(package_declaration . 65)(package_spec . 66)(package_extension . 67)(package_renaming . 68)(simple_declarative_item . 69)(typed_string_declaration . 70))
472 ((identifier_opt . 28)(name . 102))
478 ((identifier_opt . 126))
480 ((aggregate . 23)(attribute_prefix . 24)(attribute_reference . 25)(expression . 125)(external_value . 27)(identifier_opt . 28)(name . 29)(string_expression . 30)(string_primary . 31)(term . 33))
489 ((discrete_choice . 116)(discrete_choice_list . 117))
502 ((attribute_declaration . 60)(case_statement . 61)(declarative_item . 62)(declarative_items . 63)(declarative_items_opt . 130)(package_declaration . 65)(package_spec . 66)(package_extension . 67)(package_renaming . 68)(simple_declarative_item . 69)(typed_string_declaration . 70))
503 ((identifier_opt . 129))
512 ((aggregate . 23)(attribute_prefix . 24)(attribute_reference . 25)(expression . 140)(external_value . 27)(identifier_opt . 28)(name . 29)(string_expression . 30)(string_primary . 31)(term . 33))
513 ((aggregate . 23)(attribute_prefix . 24)(attribute_reference . 25)(expression . 139)(external_value . 27)(identifier_opt . 28)(name . 29)(string_expression . 30)(string_primary . 31)(term . 33))
514 ((attribute_declaration . 60)(case_statement . 61)(declarative_item . 62)(declarative_items . 63)(declarative_items_opt . 138)(package_declaration . 65)(package_spec . 66)(package_extension . 67)(package_renaming . 68)(simple_declarative_item . 69)(typed_string_declaration . 70))
515 ((discrete_choice . 137))
522 ((identifier_opt . 143))
530 (provide 'gpr-grammar-wy)