A bit of missing corections.
This commit is contained in:
parent
03763cbbf0
commit
b31ac47714
@ -13,6 +13,8 @@
|
||||
|
||||
char *symbol2str(int tok);
|
||||
|
||||
void insert_token(int tk);
|
||||
|
||||
void LLmessage(tk)
|
||||
{
|
||||
err_occurred = 1;
|
||||
@ -35,8 +37,7 @@ void LLmessage(tk)
|
||||
tk_nmb_at_last_syn_err = token_nmb;
|
||||
}
|
||||
|
||||
insert_token(tk)
|
||||
int tk;
|
||||
void insert_token(int tk)
|
||||
{
|
||||
aside = dot;
|
||||
|
||||
|
||||
@ -100,7 +100,7 @@ INP_PRIVATE struct INP_buffer_header *INP_head, *INP_free;
|
||||
_PROTOTYPE(INP_PRIVATE int INP_rdfile, (File *, char *, long *, char **));
|
||||
|
||||
#if __STDC__
|
||||
INP_PRIVATE int INP_rdfile(File *fd, char *fn, long size, char **pbuf)
|
||||
INP_PRIVATE int INP_rdfile(File *fd, char *fn, long *size, char **pbuf)
|
||||
#else
|
||||
INP_PRIVATE int
|
||||
INP_rdfile(fd, fn, size, pbuf)
|
||||
|
||||
@ -5,6 +5,7 @@ static char rcsid[] = "$Id$";
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <out.h>
|
||||
|
||||
@ -51,6 +51,7 @@ static void do_line(unsigned int l);
|
||||
static int getparams(char *buf[], char parbuf[]);
|
||||
static int macroeq(char *s, char *t);
|
||||
void macro_def(struct idf *id, char *text, int nformals, int length, int flags);
|
||||
static char *get_text(char *formals[], int *length);
|
||||
|
||||
/* Externel dependency */
|
||||
char * getwdir(char *fn);
|
||||
@ -314,7 +315,6 @@ static void do_define()
|
||||
char *repl_text; /* start of the replacement text */
|
||||
int length; /* length of the replacement text */
|
||||
register ch;
|
||||
char *get_text();
|
||||
|
||||
/* read the #defined macro's name */
|
||||
if (!(str = GetIdentifier())) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user