lex.h revision 296373
195604Sjake/* 295604Sjake * Copyright (c) 1997 - 2000 Kungliga Tekniska H��gskolan 395604Sjake * (Royal Institute of Technology, Stockholm, Sweden). 495604Sjake * All rights reserved. 595604Sjake * 695604Sjake * Redistribution and use in source and binary forms, with or without 795604Sjake * modification, are permitted provided that the following conditions 895604Sjake * are met: 995604Sjake * 1095604Sjake * 1. Redistributions of source code must retain the above copyright 1195604Sjake * notice, this list of conditions and the following disclaimer. 1295604Sjake * 1395604Sjake * 2. Redistributions in binary form must reproduce the above copyright 1495604Sjake * notice, this list of conditions and the following disclaimer in the 1595604Sjake * documentation and/or other materials provided with the distribution. 1695604Sjake * 1795604Sjake * 3. Neither the name of the Institute nor the names of its contributors 1895604Sjake * may be used to endorse or promote products derived from this software 1995604Sjake * without specific prior written permission. 2095604Sjake * 2195604Sjake * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND 2295604Sjake * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2395604Sjake * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2495604Sjake * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 2595604Sjake * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2695604Sjake * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2795604Sjake * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2895604Sjake * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2995604Sjake * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3095604Sjake * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3195604Sjake * SUCH DAMAGE. 3295604Sjake */ 3395604Sjake 3495604Sjake/* $Id$ */ 3595604Sjake 3695604Sjake#include <roken.h> 3795604Sjake 3895604Sjakevoid lex_error_message (const char *, ...) 3995604Sjake__attribute__ ((format (printf, 1, 2))); 4095604Sjakeextern int error_flag; 4195604Sjake 4295604Sjakeint yylex(void); 4395604Sjake