]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/config/loongarch-lex.h
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gas / config / loongarch-lex.h
1 /*
2 Copyright (C) 2021-2022 Free Software Foundation, Inc.
3
4 This file is part of GAS, the GNU Assembler.
5
6 GAS 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 3, or (at your option)
9 any later version.
10
11 GAS 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 this program; see the file COPYING3. If not,
18 see <http://www.gnu.org/licenses/>. */
19
20
21 struct yy_buffer_state;
22
23
24 struct yy_buffer_state *yy_scan_string (const char *);
25 void yy_delete_buffer (struct yy_buffer_state *b);
26 void get_internal_label (expressionS *label_expr,
27 unsigned long label,
28 int augend);
29 int
30 loongarch_parse_expr (const char *expr,
31 struct reloc_info *reloc_stack_top,
32 size_t max_reloc_num,
33 size_t *reloc_num,
34 offsetT *imm);