home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / GnuSource / cc-61.0.1 / cc / cplus-lang.c < prev    next >
C/C++ Source or Header  |  1991-06-04  |  2KB  |  94 lines

  1. /* Language-specific hook definitions for C++ front end.
  2.    Copyright (C) 1990 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU CC.
  5.  
  6. GNU CC is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU CC is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU CC; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20.  
  21. #include "config.h"
  22. #include "tree.h"
  23. #include "cplus-tree.h"
  24. #include <stdio.h>
  25. #include "input.h"
  26.  
  27. int
  28. lang_decode_option (p)
  29.      char *p;
  30. {
  31.   return cplus_decode_option (p);
  32. }
  33.  
  34. void
  35. lang_init ()
  36. {
  37.   /* the beginning of the file is a new line; check for # */
  38.   /* With luck, we discover the real source file's name from that
  39.      and put it in input_filename.  */
  40.   put_back (check_newline ());
  41.   
  42.   cplus_init ();
  43. }
  44.  
  45. void
  46. lang_finish ()
  47. {
  48.   cplus_finish ();
  49. }
  50.  
  51. void
  52. print_lang_statistics ()
  53. {
  54.   print_cplus_statistics ();
  55. }
  56.  
  57.  
  58. /* Each of the functions defined here
  59.    is an alternative to a function in objc-actions.c.  */
  60.    
  61. void
  62. maybe_objc_check_decl (decl)
  63.      tree decl;
  64. {
  65. }
  66.  
  67. int
  68. maybe_objc_comptypes (lhs, rhs)
  69.      tree lhs, rhs;
  70. {
  71.   return 0;
  72. }
  73.  
  74. #ifdef NeXT
  75. tree
  76. maybe_objc_method_name (decl)
  77.       tree decl;
  78. {
  79.   return 0;
  80. }
  81. #endif /* NeXT */
  82.  
  83. tree
  84. maybe_building_objc_message_expr ()
  85. {
  86.   return 0;
  87. }
  88.  
  89. void
  90. install_reserved_words (lang)
  91.       enum languages lang;
  92. {
  93. }
  94.