]> code.delx.au - gnu-emacs-elpa/blob - packages/ada-mode/gpr-grammar-wy.el
Merge commit '7fe5510edce15f5733552bb4d9de4f5ab1e0de76'
[gnu-emacs-elpa] / packages / ada-mode / gpr-grammar-wy.el
1 ;;; gpr-grammar-wy.el --- Generated parser support file
2
3 ;; Copyright (C) 2013 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 . 16))
217 ((default . error) ($EOI . (project_qualifier_opt . 2)) (PROJECT . (project_qualifier_opt . 2)))
218 ((default . error) (LEFT_PAREN . 20) (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 . 21))
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) (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))
227 ((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)))
228 ((default . error) (RIGHT_PAREN . (string_primary . 0)) (COMMA . (string_primary . 0)) (AMPERSAND . (string_primary . 0)) (SEMICOLON . (string_primary . 0)))
229 ((default . error) (LEFT_PAREN . 43))
230 ((default . error) (LEFT_PAREN . 43))
231 ((default . error) (LEFT_PAREN . 20) (STRING_LITERAL . 17) (EXTERNAL . 18) (EXTERNAL_AS_LIST . 19) (DOT . (identifier_opt . 0)) (AMPERSAND . (identifier_opt . 0)) (RIGHT_PAREN . ( 41 (identifier_opt . 0))) (COMMA . (identifier_opt . 0)) (QUOTE . (identifier_opt . 0)) (IDENTIFIER . 16) (PROJECT . 21))
232 ((default . error) (QUOTE . (attribute_prefix . 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 . ((declarative_items . 0) 57)) (IDENTIFIER . ((declarative_items . 0) 52)) (NULL . ((declarative_items . 0) 55)) (CASE . ((declarative_items . 0) 53)) (FOR . ((declarative_items . 0) 54)) (PACKAGE . ((declarative_items . 0) 56)))
247 ((default . error) (LEFT_PAREN . 20) (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 . 21))
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 . 20) (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 . 21))
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 . 20) (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 . 21))
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) (COLON . 73) (COLON_EQUALS . 74))
264 ((default . error) (DOT . (identifier_opt . 0)) (IS . (identifier_opt . 0)) (IDENTIFIER . 16))
265 ((default . error) (IDENTIFIER . 71))
266 ((default . error) (SEMICOLON . 70))
267 ((default . error) (IS . (identifier_opt . 0)) (IDENTIFIER . 16))
268 ((default . error) (IDENTIFIER . 68))
269 ((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)))
270 ((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)))
271 ((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)))
272 ((default . error) (END . 66) (TYPE . 57) (IDENTIFIER . 52) (NULL . 55) (CASE . 53) (FOR . 54) (PACKAGE . 56))
273 ((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)))
274 ((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)))
275 ((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)))
276 ((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)))
277 ((default . error) (SEMICOLON . (identifier_opt . 0)) (IDENTIFIER . 16))
278 ((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)))
279 ((default . error) (IS . 83))
280 ((default . error) (IS . 82))
281 ((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)))
282 ((default . error) (USE . 81) (LEFT_PAREN . 80))
283 ((default . error) (DOT . 38) (IS . 79))
284 ((default . error) (IDENTIFIER . 78))
285 ((default . error) (LEFT_PAREN . 20) (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 . 21))
286 ((default . error) (STRING_LITERAL . 76))
287 ((default . error) (RIGHT_PAREN . 96))
288 ((default . error) (AMPERSAND . 39) (SEMICOLON . 95))
289 ((default . error) (COLON_EQUALS . 94))
290 ((default . error) (END . (case_items . 0)) (WHEN . ((case_items . 0) 91)))
291 ((default . error) (STRING_LITERAL . 90))
292 ((default . error) (LEFT_PAREN . 20) (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 . 21))
293 ((default . error) (END . (simple_declarative_items . 0)) (IDENTIFIER . ((simple_declarative_items . 0) 52)) (NULL . ((simple_declarative_items . 0) 55)) (CASE . ((simple_declarative_items . 0) 53)) (FOR . ((simple_declarative_items . 0) 54)))
294 ((default . error) (LEFT_PAREN . 43))
295 ((default . error) (SEMICOLON . 85))
296 ((default . error) ($EOI . (simple_project_declaration . 0)))
297 ((default . error) (SEMICOLON . 108))
298 ((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)))
299 ((default . error) (END . 106) (IDENTIFIER . 52) (NULL . 55) (CASE . 53) (FOR . 54))
300 ((default . error) (AMPERSAND . 39) (SEMICOLON . 105))
301 ((default . error) (RIGHT_PAREN . 104))
302 ((default . error) (VERTICAL_BAR . (discrete_choice . 0)) (EQUAL_GREATER . (discrete_choice . 0)) (STRING_LITERAL . 100) (OTHERS . 101))
303 ((default . error) (END . (case_items . 1)) (WHEN . (case_items . 1)))
304 ((default . error) (END . 98) (WHEN . 91))
305 ((default . error) (LEFT_PAREN . 20) (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 . 21))
306 ((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)))
307 ((default . error) (AMPERSAND . (attribute_reference . 1)) (SEMICOLON . (attribute_reference . 1)) (RIGHT_PAREN . (attribute_reference . 1)) (COMMA . (attribute_reference . 1)))
308 ((default . error) (AMPERSAND . 39) (SEMICOLON . 114))
309 ((default . error) (CASE . 113))
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 . 112) (EQUAL_GREATER . 111))
315 ((default . error) (USE . 110))
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) (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)))
320 ((default . error) (SEMICOLON . 119))
321 ((default . error) (LEFT_PAREN . 20) (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 . 21))
322 ((default . error) (END . (declarative_items . 0)) (WHEN . (declarative_items . 0)) (TYPE . ((declarative_items . 0) 57)) (IDENTIFIER . ((declarative_items . 0) 52)) (NULL . ((declarative_items . 0) 55)) (CASE . ((declarative_items . 0) 53)) (FOR . ((declarative_items . 0) 54)) (PACKAGE . ((declarative_items . 0) 56)))
323 ((default . error) (EQUAL_GREATER . (discrete_choice . 0)) (VERTICAL_BAR . (discrete_choice . 0)) (STRING_LITERAL . 100) (OTHERS . 101))
324 ((default . error) (SEMICOLON . 115))
325 ((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)))
326 ((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)))
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 . 57) (IDENTIFIER . 52) (NULL . 55) (CASE . 53) (FOR . 54) (PACKAGE . 56))
329 ((default . error) (AMPERSAND . 39) (SEMICOLON . 120))
330 ((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)))
331 ((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)))]
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 nil
349 nil
350 ((aggregate . 45))
351 ((aggregate . 44))
352 ((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))
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 nil
385 ((identifier_opt . 27)(name . 72))
386 nil
387 nil
388 ((identifier_opt . 69))
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 nil
402 nil
403 nil
404 nil
405 nil
406 ((aggregate . 22)(attribute_prefix . 23)(attribute_reference . 24)(expression . 77)(external_value . 26)(identifier_opt . 27)(name . 28)(string_expression . 29)(string_primary . 30)(term . 32))
407 nil
408 nil
409 nil
410 nil
411 ((case_item . 92)(case_items . 93))
412 nil
413 ((aggregate . 22)(attribute_prefix . 23)(attribute_reference . 24)(expression . 89)(external_value . 26)(identifier_opt . 27)(name . 28)(string_expression . 29)(string_primary . 30)(term . 32))
414 ((attribute_declaration . 58)(case_statement . 59)(simple_declarative_item . 87)(simple_declarative_items . 88))
415 ((aggregate . 86))
416 nil
417 nil
418 nil
419 nil
420 ((attribute_declaration . 58)(case_statement . 59)(simple_declarative_item . 107))
421 nil
422 nil
423 ((discrete_choice . 102)(discrete_choice_list . 103))
424 nil
425 ((case_item . 99))
426 ((aggregate . 22)(attribute_prefix . 23)(attribute_reference . 24)(expression . 97)(external_value . 26)(identifier_opt . 27)(name . 28)(string_expression . 29)(string_primary . 30)(term . 32))
427 nil
428 nil
429 nil
430 nil
431 nil
432 nil
433 nil
434 nil
435 nil
436 nil
437 nil
438 ((identifier_opt . 109))
439 nil
440 nil
441 nil
442 ((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))
443 ((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))
444 ((discrete_choice . 116))
445 nil
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