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