OLD | NEW |
1 /* $Id: gas-parser.h 2279 2010-01-19 07:57:43Z peter $ | 1 /* |
2 * GAS-compatible parser header file | 2 * GAS-compatible parser header file |
3 * | 3 * |
4 * Copyright (C) 2005-2007 Peter Johnson | 4 * Copyright (C) 2005-2007 Peter Johnson |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
11 * 2. Redistributions in binary form must reproduce the above copyright | 11 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 #define p_expr_new_branch(o,r) yasm_expr_create_branch(o,r,cur_line) | 154 #define p_expr_new_branch(o,r) yasm_expr_create_branch(o,r,cur_line) |
155 #define p_expr_new_ident(r) yasm_expr_create_ident(r,cur_line) | 155 #define p_expr_new_ident(r) yasm_expr_create_ident(r,cur_line) |
156 | 156 |
157 yasm_bytecode *parse_instr_intel(yasm_parser_gas *parser_gas); | 157 yasm_bytecode *parse_instr_intel(yasm_parser_gas *parser_gas); |
158 | 158 |
159 void gas_parser_parse(yasm_parser_gas *parser_gas); | 159 void gas_parser_parse(yasm_parser_gas *parser_gas); |
160 void gas_parser_cleanup(yasm_parser_gas *parser_gas); | 160 void gas_parser_cleanup(yasm_parser_gas *parser_gas); |
161 int gas_parser_lex(YYSTYPE *lvalp, yasm_parser_gas *parser_gas); | 161 int gas_parser_lex(YYSTYPE *lvalp, yasm_parser_gas *parser_gas); |
162 | 162 |
163 #endif | 163 #endif |
OLD | NEW |