Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* GOAS front-end language hooks and GCC middle-end interface prototypes
- Copyright (C) 2012
- Free Software Foundation, Inc.
- This file is part of GCC.
- GCC is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License as published by the Free
- Software Foundation; either version 3, or (at your option) any later
- version.
- GCC is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- for more details.
- You should have received a copy of the GNU General Public License
- along with GCC; see the file COPYING3. If not see
- <http://www.gnu.org/licenses/>.
- */
- #ifndef _OAS_H__
- #define _OAS_H__
- /* Language hook prototypes */
- extern void oas_parse_file (int);
- extern tree oas_pushdecl (tree);
- extern tree oas_getdecls (void);
- extern bool oas_global_bindings_p (void);
- extern tree oas_type_for_size (unsigned, int);
- extern tree oas_type_for_mode (enum machine_mode, int);
- #undef LANG_HOOKS_PARSE_FILE
- #define LANG_HOOKS_PARSE_FILE oas_parse_file
- #undef LANG_HOOKS_PUSHDECL
- #define LANG_HOOKS_PUSHDECL oas_pushdecl
- #undef LANG_HOOKS_GLOBAL_BINDINGS_P
- #define LANG_HOOKS_GLOBAL_BINDINGS_P oas_global_bindings_p
- #undef LANG_HOOKS_GETDECLS
- #define LANG_HOOKS_GETDECLS oas_getdecls
- #undef LANG_HOOKS_TYPE_FOR_MODE
- #define LANG_HOOKS_TYPE_FOR_MODE oas_type_for_mode
- #undef LANG_HOOKS_TYPE_FOR_SIZE
- #define LANG_HOOKS_TYPE_FOR_SIZE oas_type_for_size
- #undef LANG_HOOKS_NAME
- #define LANG_HOOKS_NAME "GNU OAS Frontend"
- #endif /*_OAS_H__*/
Advertisement
Add Comment
Please, Sign In to add comment