blob: ed79934f8e598cdac2d1ccc4181fa914d2b27a84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
/* ldlex.h -
Copyright 1991, 1992 Free Software Foundation, Inc.
This file is part of GLD, the Gnu Linker.
GLD 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 1, or (at your option)
any later version.
GLD 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 GLD; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef LDLEX_H
#define LDLEX_H
#include <stdio.h>
extern int hex_mode;
extern unsigned int lineno;
/* In ldlex.l. */
extern int yylex PARAMS ((void));
extern void lex_push_file PARAMS ((FILE *, char *));
extern void lex_redirect PARAMS ((const char *));
extern void ldlex_script PARAMS ((void));
extern void ldlex_mri_script PARAMS ((void));
extern void ldlex_defsym PARAMS ((void));
extern void ldlex_expression PARAMS ((void));
extern void ldlex_both PARAMS ((void));
extern void ldlex_command PARAMS ((void));
extern void ldlex_popstate PARAMS ((void));
/* In lexsup.c. */
extern int lex_input PARAMS ((void));
extern void lex_unput PARAMS ((int));
extern int yywrap PARAMS ((void));
extern void parse_args PARAMS ((int, char **));
extern void parse_line PARAMS ((char*, int));
#endif
|