lex.h revision 178825
1137817Srwatson/*
2137817Srwatson * Copyright (c) 1997 - 2000 Kungliga Tekniska H�gskolan
3172930Srwatson * (Royal Institute of Technology, Stockholm, Sweden).
4182063Srwatson * All rights reserved.
5189503Srwatson *
6137817Srwatson * Redistribution and use in source and binary forms, with or without
7137817Srwatson * modification, are permitted provided that the following conditions
8137817Srwatson * are met:
9137817Srwatson *
10137817Srwatson * 1. Redistributions of source code must retain the above copyright
11137817Srwatson *    notice, this list of conditions and the following disclaimer.
12137817Srwatson *
13172930Srwatson * 2. Redistributions in binary form must reproduce the above copyright
14172930Srwatson *    notice, this list of conditions and the following disclaimer in the
15172930Srwatson *    documentation and/or other materials provided with the distribution.
16189503Srwatson *
17189503Srwatson * 3. Neither the name of the Institute nor the names of its contributors
18189503Srwatson *    may be used to endorse or promote products derived from this software
19137817Srwatson *    without specific prior written permission.
20137817Srwatson *
21137817Srwatson * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
22137817Srwatson * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23137817Srwatson * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24137817Srwatson * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
25137817Srwatson * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26137817Srwatson * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27137817Srwatson * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28137817Srwatson * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29137817Srwatson * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30137817Srwatson * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31137817Srwatson * SUCH DAMAGE.
32137817Srwatson */
33137817Srwatson
34137817Srwatson/* $Id: lex.h 8451 2000-06-22 00:42:52Z assar $ */
35137817Srwatson
36137817Srwatsonvoid error_message (const char *, ...)
37137817Srwatson__attribute__ ((format (printf, 1, 2)));
38137817Srwatson
39137817Srwatsonint yylex(void);
40137817Srwatson