1 /*************************************************************************** 2 * 3 * $Id: lexer.h 152 2010-10-10 14:17:37Z Michael.McTernan $ 4 * 5 * Extra lexer/scanner API functions. 6 * Copyright (C) 2010 Michael C McTernan, Michael.McTernan.2001@cs.bris.ac.uk 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 2 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, write to the Free Software 20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 21 ***************************************************************************/ 22 23 #ifndef LEXER_H 24 #define LEXER_H 25 26 /***************************************************************************** 27 * Header Files 28 *****************************************************************************/ 29 30 #include "bool.h" 31 32 /***************************************************************************** 33 * Preprocessor Macros & Constants 34 *****************************************************************************/ 35 36 /***************************************************************************** 37 * Typedefs 38 *****************************************************************************/ 39 40 /***************************************************************************** 41 * Global Variable Declarations 42 *****************************************************************************/ 43 44 /***************************************************************************** 45 * Global Function Declarations 46 *****************************************************************************/ 47 48 49 unsigned long lex_getlinenum(void); 50 char *lex_getline(void); 51 Boolean lex_getutf8(void); 52 void lex_destroy(void); 53 54 #endif /* LEXER_H */ 55 56 /* END OF FILE */ 57