xref: /aosp_15_r20/prebuilts/build-tools/common/bison/skeletons/java-skel.m4 (revision cda5da8d549138a6648c5ee6d7a49cf8f4a657be)
1                                                            -*- Autoconf -*-
2
3# Java skeleton dispatching for Bison.
4
5# Copyright (C) 2007, 2009-2015, 2018-2021 Free Software Foundation,
6# Inc.
7
8# This program is free software: you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by
10# the Free Software Foundation, either version 3 of the License, or
11# (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with this program.  If not, see <https://www.gnu.org/licenses/>.
20
21b4_glr_if(             [b4_complain([%%glr-parser not supported for Java])])
22b4_nondeterministic_if([b4_complain([%%nondeterministic-parser not supported for Java])])
23
24m4_define_default([b4_used_skeleton], [b4_skeletonsdir/[lalr1.java]])
25m4_define_default([b4_skeleton], ["b4_basename(b4_used_skeleton)"])
26
27m4_include(b4_used_skeleton)
28