c-tree.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /* Definitions for C parsing and type checking.
  2. Copyright (C) 1987 Free Software Foundation, Inc.
  3. This file is part of GNU CC.
  4. GNU CC is distributed in the hope that it will be useful,
  5. but WITHOUT ANY WARRANTY. No author or distributor
  6. accepts responsibility to anyone for the consequences of using it
  7. or for whether it serves any particular purpose or works at all,
  8. unless he says so in writing. Refer to the GNU CC General Public
  9. License for full details.
  10. Everyone is granted permission to copy, modify and redistribute
  11. GNU CC, but only under the conditions described in the
  12. GNU CC General Public License. A copy of this license is
  13. supposed to have been given to you along with GNU CC so you
  14. can know your rights and responsibilities. It should be in a
  15. file named COPYING. Among other things, the copyright notice
  16. and this notice must be preserved on all copies. */
  17. /* Nonzero means reject anything that ANSI standard C forbids. */
  18. extern int pedantic;
  19. extern void store_init_value ();
  20. extern int start_function ();
  21. extern void finish_function ();
  22. extern void store_parm_decls ();
  23. extern tree build_switch_stmt();
  24. extern void finish_switch_stmt ();
  25. extern void pushcase ();
  26. /* in typecheck.c */
  27. extern tree build_component_ref(), build_conditional_expr(), build_compound_expr();
  28. extern tree build_unary_op(), build_binary_op(), build_function_call();
  29. extern tree build_binary_op_nodefault ();
  30. extern tree build_indirect_ref(), build_array_ref(), build_c_cast();
  31. extern tree build_modify_expr();
  32. extern tree duplicate_reference ();
  33. extern tree c_sizeof ();
  34. /* in decl.c */
  35. extern tree build_bind_stmt ();
  36. extern tree build_label ();
  37. extern void pushlevel(), poplevel(), pushgoto();
  38. extern tree groktypename(), lookup_name();
  39. extern tree start_decl();
  40. extern void finish_decl();
  41. extern tree grokfield(), build_struct();
  42. extern tree start_enum(), finish_enum(), xref_enum();
  43. extern tree build_enumerator();
  44. extern tree implicitly_declare(), getdecls(), gettags ();
  45. extern tree build_return_stmt ();
  46. extern tree build_decl ();
  47. extern tree resolve_tags ();
  48. extern tree double_type_node, long_double_type_node, float_type_node;
  49. extern tree char_type_node, unsigned_char_type_node;
  50. extern tree short_integer_type_node, short_unsigned_type_node;
  51. extern tree long_integer_type_node, long_unsigned_type_node;
  52. extern tree unsigned_type_node;
  53. extern tree string_type_node, char_array_type_node;
  54. extern int current_function_returns_value;
  55. extern void yyerror();
  56. extern int lineno;
  57. extern tree ridpointers[];
  58. /* Points to the LET_STMT node
  59. whose contents are being processing */
  60. extern tree current_block;
  61. /* Points to the FUNCTION_DECL of the function whose body we are reading. */
  62. extern tree current_function_decl;
  63. /* Points to the CASE_STMT node of the innermost switch statement in
  64. * progress. */
  65. extern tree current_switch_stmt;