1 ;;; gpr-grammar-wy.el --- Generated parser support file
3 ;; Copyright (C) 2013 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)
30 ("external" . EXTERNAL)
31 ("external_as_list" . EXTERNAL_AS_LIST)
41 ("standard" . STANDARD)
48 "Table of language keywords.")
50 (defconst gpr-grammar-wy--token-table
51 (semantic-lex-make-type-table
59 (EQUAL_GREATER . "=>")
72 "Table of language tokens.")
74 (defconst gpr-grammar-wy--parse-table
76 '((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 )
77 ((attribute_declaration
78 ((FOR IDENTIFIER USE expression SEMICOLON )
80 (wisi-statement-action 1 'statement-start 3 'statement-other 5 'statement-end)
81 (wisi-containing-action 3 4)))
82 ((FOR IDENTIFIER LEFT_PAREN STRING_LITERAL RIGHT_PAREN USE expression SEMICOLON )
84 (wisi-statement-action 1 'statement-start 3 'open-paren 5 'close-paren 6 'statement-other 8 'statement-end)
85 (wisi-containing-action 6 7))))
90 ((attribute_prefix QUOTE IDENTIFIER ))
91 ((attribute_prefix QUOTE IDENTIFIER LEFT_PAREN STRING_LITERAL RIGHT_PAREN )
92 (wisi-statement-action 4 'open-paren 6 'close-paren)))
94 ((CASE name IS case_items END CASE SEMICOLON )
96 (wisi-statement-action 1 'statement-start 3 'block-start 5 'block-end 7 'statement-end)
97 (wisi-containing-action 3 4))))
99 ((WHEN discrete_choice_list EQUAL_GREATER declarative_items )
101 (wisi-statement-action 1 'block-middle 3 'block-start)
102 (wisi-containing-action 3 4))))
106 ((case_items case_item )))
108 ((context_clause_opt project_qualifier_opt project_declaration_opt )))
111 ((context_clause with_clause )))
116 ((simple_declarative_item ))
117 ((typed_string_declaration ))
118 ((package_declaration )))
121 ((declarative_item ))
122 ((declarative_items declarative_item )))
127 (discrete_choice_list
129 ((discrete_choice_list VERTICAL_BAR discrete_choice )))
132 ((expression AMPERSAND term )))
134 ((EXTERNAL LEFT_PAREN string_list RIGHT_PAREN )
135 (wisi-statement-action 2 'open-paren 4 'close-paren))
136 ((EXTERNAL_AS_LIST LEFT_PAREN string_list RIGHT_PAREN )
137 (wisi-statement-action 2 'open-paren 4 'close-paren)))
143 ((name DOT IDENTIFIER )))
144 (project_declaration_opt
146 ((simple_project_declaration )))
150 ((PACKAGE identifier_opt IS simple_declarative_items END identifier_opt SEMICOLON )
152 (wisi-statement-action 1 'statement-start 3 'block-start 5 'block-end 7 'statement-end)
153 (wisi-containing-action 3 4))))
154 (project_qualifier_opt
159 ((AGGREGATE LIBRARY ))
162 (simple_declarative_item
163 ((IDENTIFIER COLON_EQUALS expression SEMICOLON )
165 (wisi-statement-action 1 'statement-start 4 'statement-end)
166 (wisi-containing-action 1 3)))
167 ((IDENTIFIER COLON IDENTIFIER COLON_EQUALS expression SEMICOLON )
169 (wisi-statement-action 1 'statement-start 6 'statement-end)
170 (wisi-containing-action 1 5)))
171 ((attribute_declaration ))
174 (wisi-statement-action 1 'statement-start 2 'statement-end)))
175 (simple_declarative_items
177 ((simple_declarative_item ))
178 ((simple_declarative_items simple_declarative_item )))
179 (simple_project_declaration
180 ((PROJECT identifier_opt IS declarative_items END identifier_opt SEMICOLON )
182 (wisi-statement-action 1 'statement-start 3 'block-start 5 'block-end 7 'statement-end)
183 (wisi-containing-action 3 4))))
186 ((string_expression AMPERSAND string_primary )))
191 ((attribute_reference )))
193 ((string_expression ))
194 ((string_list COMMA string_expression )))
196 ((string_expression ))
197 ((LEFT_PAREN RIGHT_PAREN ))
198 ((LEFT_PAREN string_list RIGHT_PAREN )
199 (wisi-statement-action
202 (typed_string_declaration
203 ((TYPE IDENTIFIER IS LEFT_PAREN string_list RIGHT_PAREN SEMICOLON )
204 (wisi-statement-action 1 'statement-start 4 'open-paren 6 'close-paren 7 'statement-end)))
206 ((WITH string_list SEMICOLON ))))
207 [((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))
208 ((default . error) ($EOI . (project_qualifier_opt . 1)) (PROJECT . (project_qualifier_opt . 1)))
209 ((default . error) (LIBRARY . 30) ($EOI . (project_qualifier_opt . 3)) (PROJECT . (project_qualifier_opt . 3)))
210 ((default . error) ($EOI . (project_qualifier_opt . 6)) (PROJECT . (project_qualifier_opt . 6)))
211 ((default . error) ($EOI . (project_qualifier_opt . 5)) (PROJECT . (project_qualifier_opt . 5)))
212 ((default . error) (IS . (identifier_opt . 0)) (IDENTIFIER . 16))
213 ((default . error) ($EOI . (project_qualifier_opt . 2)) (PROJECT . (project_qualifier_opt . 2)))
214 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (COMMA . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
215 ((default . error) ($EOI . 15))
216 ((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))
217 ((default . error) (PROJECT . (project_qualifier_opt . 0)) ($EOI . (project_qualifier_opt . 0)) (ABSTRACT . 1) (STANDARD . 6) (AGGREGATE . 2) (LIBRARY . 4) (CONFIGURATION . 3))
218 ((default . error) ($EOI . (project_declaration_opt . 1)))
219 ((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)))
220 ((default . error) ($EOI . (project_declaration_opt . 0)) (PROJECT . 5))
221 ((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)))
222 ((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))
223 ((default . error) (IS . (identifier_opt . 1)) (RIGHT_PAREN . (identifier_opt . 1)) (COMMA . (identifier_opt . 1)) (DOT . (identifier_opt . 1)) (AMPERSAND . (identifier_opt . 1)) (SEMICOLON . (identifier_opt . 1)) (QUOTE . (identifier_opt . 1)))
224 ((default . error) (RIGHT_PAREN . (string_primary . 0)) (COMMA . (string_primary . 0)) (AMPERSAND . (string_primary . 0)) (SEMICOLON . (string_primary . 0)))
225 ((default . error) (LEFT_PAREN . 38))
226 ((default . error) (LEFT_PAREN . 37))
227 ((default . error) (QUOTE . (attribute_prefix . 0)))
228 ((default . error) (QUOTE . 36))
229 ((default . error) (RIGHT_PAREN . (string_primary . 3)) (COMMA . (string_primary . 3)) (AMPERSAND . (string_primary . 3)) (SEMICOLON . (string_primary . 3)))
230 ((default . error) (RIGHT_PAREN . (string_primary . 2)) (COMMA . (string_primary . 2)) (AMPERSAND . (string_primary . 2)) (SEMICOLON . (string_primary . 2)))
231 ((default . error) (IS . (name . 0)) (COMMA . (name . 0)) (RIGHT_PAREN . (name . 0)) (SEMICOLON . (name . 0)) (AMPERSAND . (name . 0)) (DOT . (name . 0)) (QUOTE . (name . 0)))
232 ((default . error) (RIGHT_PAREN . (string_primary . 1)) (COMMA . (string_primary . 1)) (AMPERSAND . (string_primary . 1)) (SEMICOLON . (string_primary . 1)) (DOT . 35) (QUOTE . (attribute_prefix . 1)))
233 ((default . error) (SEMICOLON . (string_list . 0)) (RIGHT_PAREN . (string_list . 0)) (COMMA . (string_list . 0)) (AMPERSAND . 34))
234 ((default . error) (COMMA . (string_expression . 0)) (RIGHT_PAREN . (string_expression . 0)) (SEMICOLON . (string_expression . 0)) (AMPERSAND . (string_expression . 0)))
235 ((default . error) (COMMA . 32) (SEMICOLON . 33))
236 ((default . error) (IS . 31))
237 ((default . error) ($EOI . (project_qualifier_opt . 4)) (PROJECT . (project_qualifier_opt . 4)))
238 ((default . error) (END . (declarative_items . 0)) (TYPE . ((declarative_items . 0) 51)) (IDENTIFIER . ((declarative_items . 0) 46)) (NULL . ((declarative_items . 0) 49)) (CASE . ((declarative_items . 0) 47)) (FOR . ((declarative_items . 0) 48)) (PACKAGE . ((declarative_items . 0) 50)))
239 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (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 . 16) (PROJECT . 20))
240 ((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)))
241 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (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 . 16) (PROJECT . 20))
242 ((default . error) (IDENTIFIER . 43))
243 ((default . error) (IDENTIFIER . 42))
244 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (RIGHT_PAREN . (identifier_opt . 0)) (COMMA . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
245 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (RIGHT_PAREN . (identifier_opt . 0)) (COMMA . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
246 ((default . error) ($EOI . (compilation_unit . 0)))
247 ((default . error) (COMMA . 32) (RIGHT_PAREN . 71))
248 ((default . error) (COMMA . 32) (RIGHT_PAREN . 70))
249 ((default . error) (LEFT_PAREN . 69) (COMMA . (attribute_reference . 0)) (RIGHT_PAREN . (attribute_reference . 0)) (SEMICOLON . (attribute_reference . 0)) (AMPERSAND . (attribute_reference . 0)))
250 ((default . error) (IS . (name . 1)) (COMMA . (name . 1)) (RIGHT_PAREN . (name . 1)) (SEMICOLON . (name . 1)) (AMPERSAND . (name . 1)) (DOT . (name . 1)) (QUOTE . (name . 1)))
251 ((default . error) (SEMICOLON . (string_expression . 1)) (COMMA . (string_expression . 1)) (RIGHT_PAREN . (string_expression . 1)) (AMPERSAND . (string_expression . 1)))
252 ((default . error) (AMPERSAND . 34) (RIGHT_PAREN . (string_list . 1)) (SEMICOLON . (string_list . 1)) (COMMA . (string_list . 1)))
253 ((default . error) (COLON . 67) (COLON_EQUALS . 68))
254 ((default . error) (DOT . (identifier_opt . 0)) (IS . (identifier_opt . 0)) (IDENTIFIER . 16))
255 ((default . error) (IDENTIFIER . 65))
256 ((default . error) (SEMICOLON . 64))
257 ((default . error) (IS . (identifier_opt . 0)) (IDENTIFIER . 16))
258 ((default . error) (IDENTIFIER . 62))
259 ((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)))
260 ((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)))
261 ((default . error) (WHEN . (declarative_items . 1)) (END . (declarative_items . 1)) (IDENTIFIER . (declarative_items . 1)) (CASE . (declarative_items . 1)) (FOR . (declarative_items . 1)) (NULL . (declarative_items . 1)) (PACKAGE . (declarative_items . 1)) (TYPE . (declarative_items . 1)))
262 ((default . error) (END . 60) (TYPE . 51) (IDENTIFIER . 46) (NULL . 49) (CASE . 47) (FOR . 48) (PACKAGE . 50))
263 ((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)))
264 ((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)))
265 ((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)))
266 ((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)))
267 ((default . error) (SEMICOLON . (identifier_opt . 0)) (IDENTIFIER . 16))
268 ((default . error) (WHEN . (declarative_items . 2)) (TYPE . (declarative_items . 2)) (PACKAGE . (declarative_items . 2)) (NULL . (declarative_items . 2)) (FOR . (declarative_items . 2)) (CASE . (declarative_items . 2)) (IDENTIFIER . (declarative_items . 2)) (END . (declarative_items . 2)))
269 ((default . error) (IS . 82))
270 ((default . error) (IS . 81))
271 ((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)))
272 ((default . error) (USE . 80) (LEFT_PAREN . 79))
273 ((default . error) (DOT . 35) (IS . 78))
274 ((default . error) (IDENTIFIER . 77))
275 ((default . error) (LEFT_PAREN . 73) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
276 ((default . error) (STRING_LITERAL . 72))
277 ((default . error) (AMPERSAND . (external_value . 1)) (SEMICOLON . (external_value . 1)) (RIGHT_PAREN . (external_value . 1)) (COMMA . (external_value . 1)))
278 ((default . error) (AMPERSAND . (external_value . 0)) (SEMICOLON . (external_value . 0)) (RIGHT_PAREN . (external_value . 0)) (COMMA . (external_value . 0)))
279 ((default . error) (RIGHT_PAREN . 98))
280 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (RIGHT_PAREN . ( 96 (identifier_opt . 0))) (COMMA . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
281 ((default . error) (AMPERSAND . 94) (SEMICOLON . 95))
282 ((default . error) (SEMICOLON . (term . 0)) (AMPERSAND . ((term . 0) 34)))
283 ((default . error) (SEMICOLON . (expression . 0)) (AMPERSAND . (expression . 0)))
284 ((default . error) (COLON_EQUALS . 93))
285 ((default . error) (END . (case_items . 0)) (WHEN . ((case_items . 0) 90)))
286 ((default . error) (STRING_LITERAL . 89))
287 ((default . error) (LEFT_PAREN . 73) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
288 ((default . error) (END . (simple_declarative_items . 0)) (IDENTIFIER . ((simple_declarative_items . 0) 46)) (NULL . ((simple_declarative_items . 0) 49)) (CASE . ((simple_declarative_items . 0) 47)) (FOR . ((simple_declarative_items . 0) 48)))
289 ((default . error) (LEFT_PAREN . 85))
290 ((default . error) (SEMICOLON . 84))
291 ((default . error) ($EOI . (simple_project_declaration . 0)))
292 ((default . error) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (RIGHT_PAREN . (identifier_opt . 0)) (COMMA . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
293 ((default . error) (END . (simple_declarative_items . 1)) (IDENTIFIER . (simple_declarative_items . 1)) (CASE . (simple_declarative_items . 1)) (FOR . (simple_declarative_items . 1)) (NULL . (simple_declarative_items . 1)))
294 ((default . error) (END . 110) (IDENTIFIER . 46) (NULL . 49) (CASE . 47) (FOR . 48))
295 ((default . error) (AMPERSAND . 94) (SEMICOLON . 109))
296 ((default . error) (RIGHT_PAREN . 108))
297 ((default . error) (VERTICAL_BAR . (discrete_choice . 0)) (EQUAL_GREATER . (discrete_choice . 0)) (STRING_LITERAL . 104) (OTHERS . 105))
298 ((default . error) (END . (case_items . 1)) (WHEN . (case_items . 1)))
299 ((default . error) (END . 102) (WHEN . 90))
300 ((default . error) (LEFT_PAREN . 73) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
301 ((default . error) (LEFT_PAREN . 73) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
302 ((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)))
303 ((default . error) (SEMICOLON . (term . 1)) (AMPERSAND . (term . 1)))
304 ((default . error) (COMMA . 32) (RIGHT_PAREN . 99))
305 ((default . error) (AMPERSAND . (attribute_reference . 1)) (SEMICOLON . (attribute_reference . 1)) (RIGHT_PAREN . (attribute_reference . 1)) (COMMA . (attribute_reference . 1)))
306 ((default . error) (AMPERSAND . (term . 2)) (SEMICOLON . (term . 2)))
307 ((default . error) (SEMICOLON . (expression . 1)) (AMPERSAND . (expression . 1)))
308 ((default . error) (AMPERSAND . 94) (SEMICOLON . 119))
309 ((default . error) (CASE . 118))
310 ((default . error) (WHEN . (case_items . 2)) (END . (case_items . 2)))
311 ((default . error) (VERTICAL_BAR . (discrete_choice . 1)) (EQUAL_GREATER . (discrete_choice . 1)))
312 ((default . error) (VERTICAL_BAR . (discrete_choice . 2)) (EQUAL_GREATER . (discrete_choice . 2)))
313 ((default . error) (EQUAL_GREATER . (discrete_choice_list . 0)) (VERTICAL_BAR . (discrete_choice_list . 0)))
314 ((default . error) (VERTICAL_BAR . 117) (EQUAL_GREATER . 116))
315 ((default . error) (USE . 115))
316 ((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)))
317 ((default . error) (SEMICOLON . (identifier_opt . 0)) (IDENTIFIER . 16))
318 ((default . error) (NULL . (simple_declarative_items . 2)) (FOR . (simple_declarative_items . 2)) (CASE . (simple_declarative_items . 2)) (IDENTIFIER . (simple_declarative_items . 2)) (END . (simple_declarative_items . 2)))
319 ((default . error) (COMMA . 32) (RIGHT_PAREN . 113))
320 ((default . error) (SEMICOLON . 125))
321 ((default . error) (SEMICOLON . 124))
322 ((default . error) (LEFT_PAREN . 73) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (SEMICOLON . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 20))
323 ((default . error) (END . (declarative_items . 0)) (WHEN . (declarative_items . 0)) (TYPE . ((declarative_items . 0) 51)) (IDENTIFIER . ((declarative_items . 0) 46)) (NULL . ((declarative_items . 0) 49)) (CASE . ((declarative_items . 0) 47)) (FOR . ((declarative_items . 0) 48)) (PACKAGE . ((declarative_items . 0) 50)))
324 ((default . error) (EQUAL_GREATER . (discrete_choice . 0)) (VERTICAL_BAR . (discrete_choice . 0)) (STRING_LITERAL . 104) (OTHERS . 105))
325 ((default . error) (SEMICOLON . 120))
326 ((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)))
327 ((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)))
328 ((default . error) (EQUAL_GREATER . (discrete_choice_list . 1)) (VERTICAL_BAR . (discrete_choice_list . 1)))
329 ((default . error) (END . (case_item . 0)) (WHEN . (case_item . 0)) (TYPE . 51) (IDENTIFIER . 46) (NULL . 49) (CASE . 47) (FOR . 48) (PACKAGE . 50))
330 ((default . error) (AMPERSAND . 94) (SEMICOLON . 126))
331 ((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)))
332 ((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)))
333 ((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)))]
334 [((compilation_unit . 8)(context_clause . 9)(context_clause_opt . 10)(simple_project_declaration . 11)(with_clause . 12))
339 ((identifier_opt . 29))
341 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 26)(string_primary . 27)(string_list . 28))
344 ((project_qualifier_opt . 13))
347 ((project_declaration_opt . 39)(simple_project_declaration . 11))
365 ((attribute_declaration . 52)(case_statement . 53)(declarative_item . 54)(declarative_items . 55)(package_declaration . 56)(package_spec . 57)(simple_declarative_item . 58)(typed_string_declaration . 59))
366 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 45)(string_primary . 27))
368 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_primary . 44))
371 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 26)(string_primary . 27)(string_list . 41))
372 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 26)(string_primary . 27)(string_list . 40))
381 ((identifier_opt . 24)(name . 66))
384 ((identifier_opt . 63))
389 ((attribute_declaration . 52)(case_statement . 53)(declarative_item . 61)(package_declaration . 56)(package_spec . 57)(simple_declarative_item . 58)(typed_string_declaration . 59))
394 ((identifier_opt . 83))
402 ((attribute_prefix . 21)(attribute_reference . 22)(expression . 74)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 75)(string_primary . 27)(term . 76))
407 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 26)(string_primary . 27)(string_list . 97))
412 ((case_item . 91)(case_items . 92))
414 ((attribute_prefix . 21)(attribute_reference . 22)(expression . 88)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 75)(string_primary . 27)(term . 76))
415 ((attribute_declaration . 52)(case_statement . 53)(simple_declarative_item . 86)(simple_declarative_items . 87))
419 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 26)(string_primary . 27)(string_list . 112))
421 ((attribute_declaration . 52)(case_statement . 53)(simple_declarative_item . 111))
424 ((discrete_choice . 106)(discrete_choice_list . 107))
427 ((attribute_prefix . 21)(attribute_reference . 22)(expression . 101)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 75)(string_primary . 27)(term . 76))
428 ((attribute_prefix . 21)(attribute_reference . 22)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 75)(string_primary . 27)(term . 100))
444 ((identifier_opt . 114))
449 ((attribute_prefix . 21)(attribute_reference . 22)(expression . 123)(external_value . 23)(identifier_opt . 24)(name . 25)(string_expression . 75)(string_primary . 27)(term . 76))
450 ((attribute_declaration . 52)(case_statement . 53)(declarative_item . 54)(declarative_items . 122)(package_declaration . 56)(package_spec . 57)(simple_declarative_item . 58)(typed_string_declaration . 59))
451 ((discrete_choice . 121))
456 ((attribute_declaration . 52)(case_statement . 53)(declarative_item . 61)(package_declaration . 56)(package_spec . 57)(simple_declarative_item . 58)(typed_string_declaration . 59))
463 (provide 'gpr-grammar-wy)