forked from Imagelibrary/binutils-gdb
Tidy gas/expr.c static state
* expr.c (seen, nr_seen): Make file scope. (expr_begin): Clear seen, nr_seen, and expr_symbol_lines. (expr_end): New function. * expr.h (expr_end): Declare. * output-file.c (output_file_close): Call expr_end. * config/tc-hppa.c (expr_end): Rename to expr_parse_end. * config/tc-mips.c: Likewise. * config/tc-riscv.c: Likewise. * config/tc-sparc.c: Likewise.
This commit is contained in:
@@ -175,6 +175,7 @@ typedef char operator_rankT;
|
||||
extern char get_symbol_name (char **);
|
||||
extern char restore_line_pointer (char);
|
||||
extern void expr_begin (void);
|
||||
extern void expr_end (void);
|
||||
extern void expr_set_precedence (void);
|
||||
extern void expr_set_rank (operatorT, operator_rankT);
|
||||
extern void add_to_result (expressionS *, offsetT, int);
|
||||
|
||||
Reference in New Issue
Block a user