home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / GnuSource / cc-61.0.1 / cc / c-lang.c < prev    next >
C/C++ Source or Header  |  1991-06-04  |  2KB  |  83 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 <stdio.h>
  24. #include "input.h"
  25.  
  26. /* Each of the functions defined here
  27.    is an alternative to a function in objc-actions.c.  */
  28.    
  29. int
  30. lang_decode_option (p)
  31.      char *p;
  32. {
  33.   return c_decode_option (p);
  34. }
  35.  
  36. void
  37. lang_init ()
  38. {
  39.   /* the beginning of the file is a new line; check for # */
  40.   /* With luck, we discover the real source file's name from that
  41.      and put it in input_filename.  */
  42.   ungetc (check_newline (), finput);
  43. }
  44.  
  45. void
  46. lang_finish ()
  47. {
  48. }
  49.  
  50. void
  51. maybe_objc_check_decl (decl)
  52.      tree decl;
  53. {
  54. }
  55.  
  56. int
  57. maybe_objc_comptypes (lhs, rhs)
  58.      tree lhs, rhs;
  59. {
  60.   return 0;
  61. }
  62.  
  63. #ifdef NeXT
  64. tree
  65. maybe_objc_method_name (decl)
  66.       tree decl;
  67. {
  68.   return 0;
  69. }
  70. #endif /* NeXT */
  71.  
  72. tree
  73. maybe_building_objc_message_expr ()
  74. {
  75.   return 0;
  76. }
  77.  
  78.  
  79. void
  80. print_lang_statistics ()
  81. {
  82. }
  83.