xref: /freebsd/lib/liby/yyerror.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
162a07313SEitan Adler /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
362a07313SEitan Adler  *
4250d25d5SEitan Adler  * Copyright (c) 2018 Eitan Adler
562a07313SEitan Adler  *
662a07313SEitan Adler  * Redistribution and use in source and binary forms, with or without
762a07313SEitan Adler  * modification, are permitted provided that the following conditions
862a07313SEitan Adler  * are met:
962a07313SEitan Adler  * 1. Redistributions of source code must retain the above copyright
1062a07313SEitan Adler  *    notice, this list of conditions and the following disclaimer.
1162a07313SEitan Adler  * 2. Redistributions in binary form must reproduce the above copyright
1262a07313SEitan Adler  *    notice, this list of conditions and the following disclaimer in the
1362a07313SEitan Adler  *    documentation and/or other materials provided with the distribution.
1462a07313SEitan Adler  *
15250d25d5SEitan Adler  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1662a07313SEitan Adler  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1762a07313SEitan Adler  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18250d25d5SEitan Adler  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1962a07313SEitan Adler  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2062a07313SEitan Adler  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2162a07313SEitan Adler  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2262a07313SEitan Adler  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2362a07313SEitan Adler  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2462a07313SEitan Adler  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2562a07313SEitan Adler  * SUCH DAMAGE.
2662a07313SEitan Adler  */
2762a07313SEitan Adler 
28250d25d5SEitan Adler #ifndef YYERROR_H
29250d25d5SEitan Adler #define YYERROR_H
3062a07313SEitan Adler 
3162a07313SEitan Adler int yyerror(const char *msg);
32250d25d5SEitan Adler int yyparse(void);
33250d25d5SEitan Adler 
34250d25d5SEitan Adler #endif /* YYERROR_H */
35