home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 20 / AACD20.BIN / AACD / Programming / Jikes / Source / src / lpginput.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-24  |  960 b   |  34 lines

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