MacOS X/clang found a new batch of warnings :)
This commit is contained in:
parent
1b34c8cc9f
commit
a05a174f40
@ -17,6 +17,11 @@
|
|||||||
#include "strlookup.h"
|
#include "strlookup.h"
|
||||||
#include <cgg_cg.h>
|
#include <cgg_cg.h>
|
||||||
#include <em_reg.h>
|
#include <em_reg.h>
|
||||||
|
#include "subr.h"
|
||||||
|
#include "coerc.h"
|
||||||
|
#include "hall.h"
|
||||||
|
#include "error.h"
|
||||||
|
#include "emlookup.h"
|
||||||
|
|
||||||
extern int lineno;
|
extern int lineno;
|
||||||
int instline,saveline;
|
int instline,saveline;
|
||||||
@ -39,6 +44,9 @@ int Xstackflag=0; /* set in coercions, moves, and tests. %1 means something
|
|||||||
different then.
|
different then.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* From lexer */
|
||||||
|
int yylex(void);
|
||||||
|
|
||||||
struct varinfo *gen_inst(),*gen_move(),*gen_test(),*gen_preturn(),*gen_tlab();
|
struct varinfo *gen_inst(),*gen_move(),*gen_test(),*gen_preturn(),*gen_tlab();
|
||||||
struct varinfo *gen_label(), *make_erase();
|
struct varinfo *gen_label(), *make_erase();
|
||||||
expr_t make_expr(),ident_expr(),subreg_expr(),tokm_expr(),all_expr();
|
expr_t make_expr(),ident_expr(),subreg_expr(),tokm_expr(),all_expr();
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include "param.h"
|
#include "param.h"
|
||||||
#include "varinfo.h"
|
#include "varinfo.h"
|
||||||
|
|
||||||
@ -20,7 +20,7 @@
|
|||||||
void yyparse(void);
|
void yyparse(void);
|
||||||
|
|
||||||
char *filename;
|
char *filename;
|
||||||
char *beg_sbrk;
|
void *beg_sbrk;
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
|||||||
@ -51,6 +51,8 @@ FILE *code;
|
|||||||
short *lineset;
|
short *lineset;
|
||||||
int maxline;
|
int maxline;
|
||||||
|
|
||||||
|
extern void *beg_sbrk;
|
||||||
|
|
||||||
extern int nstrings;
|
extern int nstrings;
|
||||||
extern char *l_strings[];
|
extern char *l_strings[];
|
||||||
|
|
||||||
@ -922,7 +924,6 @@ void used(char *resource, int use, int max)
|
|||||||
|
|
||||||
void statistics()
|
void statistics()
|
||||||
{
|
{
|
||||||
extern char *beg_sbrk,*sbrk();
|
|
||||||
extern int nnodes, maxempatlen,maxrule;
|
extern int nnodes, maxempatlen,maxrule;
|
||||||
|
|
||||||
used("Registers",nregs,MAXREGS);
|
used("Registers",nregs,MAXREGS);
|
||||||
|
|||||||
@ -45,7 +45,8 @@ int CBO_instrs[] = {
|
|||||||
/* don't add op_mli and op_mlu! */
|
/* don't add op_mli and op_mlu! */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
int yylex(void);
|
||||||
|
int lookup(int comm, int operator, int lnode, int rnode);
|
||||||
void enter(char *name, int value);
|
void enter(char *name, int value);
|
||||||
void yyerror(char *s);
|
void yyerror(char *s);
|
||||||
void printnodes();
|
void printnodes();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user