filename and linenumber info in more places

This commit is contained in:
dick
1988-08-29 15:51:48 +00:00
parent 62d1432035
commit 32e5679d6c
16 changed files with 108 additions and 71 deletions

View File

@@ -128,7 +128,7 @@ external_definition
is a function, not an old-fashioned
initialization.
*/
function(&Dc)
function(&Ds, &Dc)
|
non_function(&Ds, &Dc)
]
@@ -166,7 +166,7 @@ non_function(register struct decspecs *ds; register struct declarator *dc;)
;
/* 10.1 */
function(struct declarator *dc;)
function(struct decspecs *ds; struct declarator *dc;)
{
arith fbytes;
}
@@ -175,7 +175,7 @@ function(struct declarator *dc;)
init_idf(idf);
stack_level(); /* L_FORMAL1 declarations */
declare_params(dc);
begin_proc(idf->id_text, idf->id_def);
begin_proc(ds, idf); /* sets global function info */
stack_level(); /* L_FORMAL2 declarations */
}
declaration*