1 // $Id: lpginput.h,v 1.10 2004/03/25 13:32:28 ericb Exp $ -*- c++ -*- 2 // 3 // This software is subject to the terms of the IBM Jikes Compiler 4 // License Agreement available at the following URL: 5 // http://ibm.com/developerworks/opensource/jikes. 6 // Copyright (C) 1996, 2004 IBM Corporation and others. All Rights Reserved. 7 // You must accept the terms of that agreement to use this software. 8 // 9 #ifndef lpginput_INCLUDED 10 #define lpginput_INCLUDED 11 12 #include "platform.h" 13 14 #ifdef HAVE_JIKES_NAMESPACE 15 namespace Jikes { // Open namespace Jikes block 16 #endif 17 18 typedef TokenIndex TokenObject; 19 typedef TokenIndex Location; 20 Loc(TokenObject i)21inline Location Loc(TokenObject i) { return i; } 22 23 #ifdef HAVE_JIKES_NAMESPACE 24 } // Close namespace Jikes block 25 #endif 26 27 #include "javasym.h" /* mapping of lexical symbols */ 28 #include "javadef.h" /* definition of parsing names */ 29 #include "javaprs.h" /* parsing action functions */ 30 31 #endif // lpginput_INCLUDED 32