* c-exp.y (lcurly, rcurly): New nonterminals.
* c-exp.y (exp): Use lcurly and rcurly for arrays and UNOP_MEMVAL constructs. * parse.c (free_funcalls): Moved prototype from parser-defs.h, made function static. * parse.c (struct funcall): Moved struct def from parser-defs.h. * parse.c (funcall_chain): Moved from parser-defs.h, made static. * parse.c (start_arglist): * parser-defs.h (free_funcalls): Moved prototype to parse.c. * parser-defs.h (struct funcall): Moved struct def to parse.c. * parser-defs.h (funcall_chain): Moved to parse.c. * printcmd.c (print_frame_nameless_args): Fix prototype. * tm-mips.h (setup_arbitrary_frame): Fix prototype. * tm-sparc.h (setup_arbitrary_frame): Fix prototype. * valops.c (typecmp): Moved prototype from values.h. * value.h (typecmp): Moved prototype to valops.c, made static. **** start-sanitize-chill **** * ch-exp.y (yylex): Change way control sequences are disabled. **** end-sanitize-chill ****
This commit is contained in:
parent
58bcc08c60
commit
9da75ad32e
7 changed files with 61 additions and 27 deletions
|
@ -49,17 +49,6 @@ struct block *block_found;
|
|||
/* Number of arguments seen so far in innermost function call. */
|
||||
int arglist_len;
|
||||
|
||||
/* Data structure for saving values of arglist_len
|
||||
for function calls whose arguments contain other function calls. */
|
||||
|
||||
struct funcall
|
||||
{
|
||||
struct funcall *next;
|
||||
int arglist_len;
|
||||
};
|
||||
|
||||
struct funcall *funcall_chain;
|
||||
|
||||
/* A string token, either a char-string or bit-string. Char-strings are
|
||||
used, for example, for the names of symbols. */
|
||||
|
||||
|
@ -129,9 +118,6 @@ start_arglist PARAMS ((void));
|
|||
extern int
|
||||
end_arglist PARAMS ((void));
|
||||
|
||||
extern void
|
||||
free_funcalls PARAMS ((void));
|
||||
|
||||
extern char *
|
||||
copy_name PARAMS ((struct stoken));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue