00001 /** 00002 \file Robots/LoBot/config/LoLexYaccDefs.H 00003 \brief Just some declarations related to the INI-file lexer and parser 00004 modules built using lex and yacc. 00005 */ 00006 00007 // //////////////////////////////////////////////////////////////////// // 00008 // The iLab Neuromorphic Vision C++ Toolkit - Copyright (C) 2000-2005 // 00009 // by the University of Southern California (USC) and the iLab at USC. // 00010 // See http://iLab.usc.edu for information about this project. // 00011 // //////////////////////////////////////////////////////////////////// // 00012 // Major portions of the iLab Neuromorphic Vision Toolkit are protected // 00013 // under the U.S. patent ``Computation of Intrinsic Perceptual Saliency // 00014 // in Visual Environments, and Applications'' by Christof Koch and // 00015 // Laurent Itti, California Institute of Technology, 2001 (patent // 00016 // pending; application number 09/912,225 filed July 23, 2001; see // 00017 // http://pair.uspto.gov/cgi-bin/final/home.pl for current status). // 00018 // //////////////////////////////////////////////////////////////////// // 00019 // This file is part of the iLab Neuromorphic Vision C++ Toolkit. // 00020 // // 00021 // The iLab Neuromorphic Vision C++ Toolkit is free software; you can // 00022 // redistribute it and/or modify it under the terms of the GNU General // 00023 // Public License as published by the Free Software Foundation; either // 00024 // version 2 of the License, or (at your option) any later version. // 00025 // // 00026 // The iLab Neuromorphic Vision C++ Toolkit is distributed in the hope // 00027 // that it will be useful, but WITHOUT ANY WARRANTY; without even the // 00028 // implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // 00029 // PURPOSE. See the GNU General Public License for more details. // 00030 // // 00031 // You should have received a copy of the GNU General Public License // 00032 // along with the iLab Neuromorphic Vision C++ Toolkit; if not, write // 00033 // to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, // 00034 // Boston, MA 02111-1307 USA. // 00035 // //////////////////////////////////////////////////////////////////// // 00036 // 00037 // Primary maintainer for this file: Manu Viswanathan <mviswana at usc dot edu> 00038 // $HeadURL: svn://isvn.usc.edu/software/invt/trunk/saliency/src/Robots/LoBot/config/LoLexYaccDefs.H $ 00039 // $Id: LoLexYaccDefs.H 11256 2009-05-30 01:46:10Z mviswana $ 00040 // 00041 00042 #ifndef LOBOT_LEX_YACC_DEFS_DOT_H 00043 #define LOBOT_LEX_YACC_DEFS_DOT_H 00044 00045 //------------------------------ HEADERS -------------------------------- 00046 00047 // Standard C headers 00048 #include <stdio.h> 00049 00050 //------------------------------ DEFINES -------------------------------- 00051 00052 // Enable parser debugging features 00053 #define YYDEBUG 1 00054 00055 // Internal name for the "unnamed" top-level section of the INI file 00056 #define LOCD_TOP_LEVEL "__ANONYMOUS_TOP_LEVEL__" 00057 00058 //------------------------------ GLOBALS -------------------------------- 00059 00060 // Input stream used by the lexer 00061 extern FILE* yyin ; 00062 00063 //----------------------------- FUNCTIONS ------------------------------- 00064 00065 // The lexer routine generated by lex 00066 int yylex(void) ; 00067 00068 // The parser routine generated by yacc 00069 int yyparse(void) ; 00070 00071 // The error routine used by yacc 00072 void yyerror(const char*) ; 00073 00074 // API provided by the parser module to allow lexer to pass tokens to it 00075 void locd_ifp_set_current_identifier(const char*) ; 00076 void locd_ifp_set_current_value(const char*) ; 00077 00078 //----------------------------------------------------------------------- 00079 00080 #endif // #ifndef LOBOT_LEX_YACC_DEFS_DOT_H 00081 00082 /* So things look consistent in everyone's emacs... */ 00083 /* Local Variables: */ 00084 /* indent-tabs-mode: nil */ 00085 /* End: */