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