| OLD | NEW |
| 1 /* $Id: nasm-parser.h 2277 2010-01-19 07:03:15Z peter $ | 1 /* |
| 2 * NASM-compatible parser header file | 2 * NASM-compatible parser header file |
| 3 * | 3 * |
| 4 * Copyright (C) 2002-2007 Peter Johnson | 4 * Copyright (C) 2002-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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 114 |
| 115 #define p_expr_new_tree(l,o,r) yasm_expr_create_tree(l,o,r,cur_line) | 115 #define p_expr_new_tree(l,o,r) yasm_expr_create_tree(l,o,r,cur_line) |
| 116 #define p_expr_new_branch(o,r) yasm_expr_create_branch(o,r,cur_line) | 116 #define p_expr_new_branch(o,r) yasm_expr_create_branch(o,r,cur_line) |
| 117 #define p_expr_new_ident(r) yasm_expr_create_ident(r,cur_line) | 117 #define p_expr_new_ident(r) yasm_expr_create_ident(r,cur_line) |
| 118 | 118 |
| 119 void nasm_parser_parse(yasm_parser_nasm *parser_nasm); | 119 void nasm_parser_parse(yasm_parser_nasm *parser_nasm); |
| 120 void nasm_parser_cleanup(yasm_parser_nasm *parser_nasm); | 120 void nasm_parser_cleanup(yasm_parser_nasm *parser_nasm); |
| 121 int nasm_parser_lex(YYSTYPE *lvalp, yasm_parser_nasm *parser_nasm); | 121 int nasm_parser_lex(YYSTYPE *lvalp, yasm_parser_nasm *parser_nasm); |
| 122 | 122 |
| 123 #endif | 123 #endif |
| OLD | NEW |