From 5c73826e4c58ec841f1e30435647e406c7af0b55 Mon Sep 17 00:00:00 2001 From: Manoel Trapier Date: Wed, 20 Mar 2013 20:35:54 +0100 Subject: [PATCH] Remove unwanted files --- lang/cem/cemcom.ansi/LLlex.h.new | 85 ----------------------------- lang/cem/cemcom.ansi/LLlex.h.old | 65 ---------------------- lang/cem/cemcom.ansi/arith.h.new | 64 ---------------------- lang/cem/cemcom.ansi/arith.h.old | 37 ------------- lang/cem/cemcom.ansi/decspecs.h.new | 33 ----------- lang/cem/cemcom.ansi/decspecs.h.old | 24 -------- lang/cem/cemcom.ansi/eval.g.h | 11 ---- 7 files changed, 319 deletions(-) delete mode 100644 lang/cem/cemcom.ansi/LLlex.h.new delete mode 100644 lang/cem/cemcom.ansi/LLlex.h.old delete mode 100644 lang/cem/cemcom.ansi/arith.h.new delete mode 100644 lang/cem/cemcom.ansi/arith.h.old delete mode 100644 lang/cem/cemcom.ansi/decspecs.h.new delete mode 100644 lang/cem/cemcom.ansi/decspecs.h.old delete mode 100644 lang/cem/cemcom.ansi/eval.g.h diff --git a/lang/cem/cemcom.ansi/LLlex.h.new b/lang/cem/cemcom.ansi/LLlex.h.new deleted file mode 100644 index aadbe0414..000000000 --- a/lang/cem/cemcom.ansi/LLlex.h.new +++ /dev/null @@ -1,85 +0,0 @@ -#ifndef LANG_CEM_CEMCOM_ANSI_LLLEX_H -#define LANG_CEM_CEMCOM_ANSI_LLLEX_H -/* - * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - */ -/* $Id$ */ -/* D E F I N I T I O N S F O R T H E L E X I C A L A N A L Y Z E R */ - -/* A token from the input stream is represented by an integer, - called a "symbol", but it may have other information associated - to it. -*/ - -#include "file_info.h" -#include "nopp.h" - -/* the structure of a token: */ -struct token { - int tok_symb; /* the token itself */ - char *tok_file; /* the file it (probably) comes from */ - unsigned int tok_line; /* the line it (probably) comes from */ - int tok_fund; - union { - struct idf *tok_idf; /* for IDENTIFIER & TYPE_IDENTIFIER */ - struct { /* for STRING */ - char *tok_bts; /* row of bytes */ - int tok_len; /* length of row of bytes */ - } tok_string; - arith tok_ival; /* for INTEGER */ - char *tok_fval; /* for FLOATING */ - } tok_data; -}; - -#define tk_symb tok_symb -#define tk_file tok_file -#define tk_line tok_line -#define tk_fund tok_fund -#define tk_idf tok_data.tok_idf -#define tk_bts tok_data.tok_string.tok_bts -#define tk_len tok_data.tok_string.tok_len -#define tk_ival tok_data.tok_ival -#define tk_fval tok_data.tok_fval - -extern struct token dot, ahead, aside; -extern int token_nmb; /* number of the ahead token */ -extern int tk_nmb_at_last_syn_err; /* token number at last syntax error */ - -#ifndef NOPP -extern int ReplaceMacros; /* "LLlex.c" */ -extern int AccDefined; /* "LLlex.c" */ -extern int Unstacked; /* "LLlex.c" */ -extern int UnknownIdIsZero; /* "LLlex.c" */ -#endif /* NOPP */ -extern int EoiForNewline; /* "LLlex.c" */ -extern int AccFileSpecifier; /* "LLlex.c" */ -extern int File_Inserted; /* "LLlex.c" */ - -extern int NoUnstack; /* buffer.c */ - -extern int err_occurred; /* "error.c" */ - -#define DOT dot.tk_symb -#define AHEAD ahead.tk_symb -#define ASIDE aside.tk_symb - -#define EOF (-1) - -/* lang/cem/cemcom.ansi/LLlex.c */ -void PushLex(void); -void PopLex(void); -int LLlex(void); -int GetToken(struct token *ptok); -void skipcomment(void); -arith char_constant(char *nm); -char *string_token(char *nm, int stop_char, int *plen); -int quoted(int ch); -int hex_val(int ch); -int GetChar(void); -int trigraph(void); -void strflt2tok(char fltbuf[], struct token *ptok); -void strint2tok(char intbuf[], struct token *ptok); - -#endif /* LANG_CEM_CEMCOM_ANSI_LLLEX_H */ - diff --git a/lang/cem/cemcom.ansi/LLlex.h.old b/lang/cem/cemcom.ansi/LLlex.h.old deleted file mode 100644 index 7fb88292d..000000000 --- a/lang/cem/cemcom.ansi/LLlex.h.old +++ /dev/null @@ -1,65 +0,0 @@ -/* - * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - */ -/* $Id$ */ -/* D E F I N I T I O N S F O R T H E L E X I C A L A N A L Y Z E R */ - -/* A token from the input stream is represented by an integer, - called a "symbol", but it may have other information associated - to it. -*/ - -#include "file_info.h" -#include "nopp.h" - -/* the structure of a token: */ -struct token { - int tok_symb; /* the token itself */ - char *tok_file; /* the file it (probably) comes from */ - unsigned int tok_line; /* the line it (probably) comes from */ - int tok_fund; - union { - struct idf *tok_idf; /* for IDENTIFIER & TYPE_IDENTIFIER */ - struct { /* for STRING */ - char *tok_bts; /* row of bytes */ - int tok_len; /* length of row of bytes */ - } tok_string; - arith tok_ival; /* for INTEGER */ - char *tok_fval; /* for FLOATING */ - } tok_data; -}; - -#define tk_symb tok_symb -#define tk_file tok_file -#define tk_line tok_line -#define tk_fund tok_fund -#define tk_idf tok_data.tok_idf -#define tk_bts tok_data.tok_string.tok_bts -#define tk_len tok_data.tok_string.tok_len -#define tk_ival tok_data.tok_ival -#define tk_fval tok_data.tok_fval - -extern struct token dot, ahead, aside; -extern int token_nmb; /* number of the ahead token */ -extern int tk_nmb_at_last_syn_err; /* token number at last syntax error */ - -#ifndef NOPP -extern int ReplaceMacros; /* "LLlex.c" */ -extern int AccDefined; /* "LLlex.c" */ -extern int Unstacked; /* "LLlex.c" */ -extern int UnknownIdIsZero; /* "LLlex.c" */ -#endif /* NOPP */ -extern int EoiForNewline; /* "LLlex.c" */ -extern int AccFileSpecifier; /* "LLlex.c" */ -extern int File_Inserted; /* "LLlex.c" */ - -extern int NoUnstack; /* buffer.c */ - -extern int err_occurred; /* "error.c" */ - -#define DOT dot.tk_symb -#define AHEAD ahead.tk_symb -#define ASIDE aside.tk_symb - -#define EOF (-1) diff --git a/lang/cem/cemcom.ansi/arith.h.new b/lang/cem/cemcom.ansi/arith.h.new deleted file mode 100644 index 5885dd47d..000000000 --- a/lang/cem/cemcom.ansi/arith.h.new +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef LANG_CEM_CEMCOM_ANSI_ARITH_H -#define LANG_CEM_CEMCOM_ANSI_ARITH_H -/* - * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - */ -/* $Id$ */ -/* COMPILER ARITHMETIC */ - -/* Normally the compiler does its internal arithmetics in longs - native to the source machine, which is always good for local - compilations, and generally OK too for cross compilations - downwards and sidewards. For upwards cross compilation and - to save storage on small machines, SPECIAL_ARITHMETICS will - be handy. -*/ - -#include "spec_arith.h" - -#ifndef SPECIAL_ARITHMETICS - -#include /* obtain definition of "arith" */ - -#else /* SPECIAL_ARITHMETICS */ - -/* All preprocessor arithmetic should be done in longs. -*/ -#include - -typedef int32_t arith; /* dummy */ - -#endif /* SPECIAL_ARITHMETICS */ - -#define arith_size (sizeof(arith)) -#define arith_sign ((arith) 1 << (arith_size * 8 - 1)) -#define max_arith (~arith_sign) - -struct expr; -struct type; - -/* lang/cem/cemcom.ansi/arith.c */ -void arithbalance(struct expr **e1p, int oper, struct expr **e2p); -void relbalance(struct expr **e1p, int oper, struct expr **e2p); -void ch3pointer(struct expr **expp, int oper, struct type *tp); -int any2arith(struct expr **expp, int oper); -void erroneous2int(struct expr **expp); -struct expr *arith2arith(struct type *tp, int oper, struct expr *expr); -int int2int(struct expr **expp, struct type *tp); -void int2float(struct expr **expp, struct type *tp); -void float2int(struct expr **expp, struct type *tp); -void float2float(struct expr **expp, struct type *tp); -void array2pointer(struct expr *exp); -void function2pointer(struct expr *exp); -void string2pointer(struct expr *ex); -void opnd2integral(struct expr **expp, int oper); -void opnd2logical(struct expr **expp, int oper); -void opnd2test(struct expr **expp, int oper); -void any2opnd(struct expr **expp, int oper); -void any2parameter(struct expr **expp); -void field2arith(struct expr **expp); -void switch_sign_fp(struct expr *expr); - -#endif /* LANG_CEM_CEMCOM_ANSI_ARITH_H */ - diff --git a/lang/cem/cemcom.ansi/arith.h.old b/lang/cem/cemcom.ansi/arith.h.old deleted file mode 100644 index 5e25a089f..000000000 --- a/lang/cem/cemcom.ansi/arith.h.old +++ /dev/null @@ -1,37 +0,0 @@ -/* - * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - */ -/* $Id$ */ -/* COMPILER ARITHMETIC */ - -/* Normally the compiler does its internal arithmetics in longs - native to the source machine, which is always good for local - compilations, and generally OK too for cross compilations - downwards and sidewards. For upwards cross compilation and - to save storage on small machines, SPECIAL_ARITHMETICS will - be handy. -*/ - -#include "spec_arith.h" - -#ifndef SPECIAL_ARITHMETICS - -#include /* obtain definition of "arith" */ - -#else /* SPECIAL_ARITHMETICS */ - -/* All preprocessor arithmetic should be done in longs. -*/ -#include - -typedef int32_t arith; /* dummy */ - -#endif /* SPECIAL_ARITHMETICS */ - -#define arith_size (sizeof(arith)) -#define arith_sign ((arith) 1 << (arith_size * 8 - 1)) -#define max_arith (~arith_sign) - -struct expr; -struct type; diff --git a/lang/cem/cemcom.ansi/decspecs.h.new b/lang/cem/cemcom.ansi/decspecs.h.new deleted file mode 100644 index 56b8625c7..000000000 --- a/lang/cem/cemcom.ansi/decspecs.h.new +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef LANG_CEM_CEMCOM_ANSI_DECSPECS_H -#define LANG_CEM_CEMCOM_ANSI_DECSPECS_H -/* - * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - */ -/* $Id$ */ -/* DECLARATION SPECIFIER DEFINITION */ - -struct decspecs { - struct decspecs *next; - struct type *ds_type; /* single type */ - int ds_notypegiven; /* set if type not given explicitly */ - int ds_typedef; /* 1 if type was a user typedef */ - int ds_sc_given; /* 1 if the st. class is explicitly given */ - int ds_sc; /* storage class, given or implied */ - int ds_size; /* LONG, SHORT or 0 */ - int ds_unsigned; /* SIGNED, UNSIGNED or 0 */ - int ds_typequal; /* type qualifiers - see type.str */ -}; - -extern struct decspecs null_decspecs; - -void do_decspecs(struct decspecs *ds); -struct type *qualifier_type(struct type *tp, int typequal); - - -/* lang/cem/cemcom.ansi/decspecs.c */ -void do_decspecs(struct decspecs *ds); -struct type *qualifier_type(struct type *tp, int typequal); - -#endif /* LANG_CEM_CEMCOM_ANSI_DECSPECS_H */ - diff --git a/lang/cem/cemcom.ansi/decspecs.h.old b/lang/cem/cemcom.ansi/decspecs.h.old deleted file mode 100644 index df01446bb..000000000 --- a/lang/cem/cemcom.ansi/decspecs.h.old +++ /dev/null @@ -1,24 +0,0 @@ -/* - * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - */ -/* $Id$ */ -/* DECLARATION SPECIFIER DEFINITION */ - -struct decspecs { - struct decspecs *next; - struct type *ds_type; /* single type */ - int ds_notypegiven; /* set if type not given explicitly */ - int ds_typedef; /* 1 if type was a user typedef */ - int ds_sc_given; /* 1 if the st. class is explicitly given */ - int ds_sc; /* storage class, given or implied */ - int ds_size; /* LONG, SHORT or 0 */ - int ds_unsigned; /* SIGNED, UNSIGNED or 0 */ - int ds_typequal; /* type qualifiers - see type.str */ -}; - -extern struct decspecs null_decspecs; - -void do_decspecs(struct decspecs *ds); -struct type *qualifier_type(struct type *tp, int typequal); - diff --git a/lang/cem/cemcom.ansi/eval.g.h b/lang/cem/cemcom.ansi/eval.g.h deleted file mode 100644 index dd29df689..000000000 --- a/lang/cem/cemcom.ansi/eval.g.h +++ /dev/null @@ -1,11 +0,0 @@ -/* - * The Amsterdam Compiler Kit - * See the copyright notice in the ACK home directory, in the file "Copyright". - */ -#ifndef LANG_CEM_CEMCOM_ANSI_EVAL_G_H -#define LANG_CEM_CEMCOM_ANSI_EVAL_G_H - -/* lang/cem/cemcom.ansi/eval.g.c */ - -#endif /* LANG_CEM_CEMCOM_ANSI_EVAL_G_H */ - -- 2.34.1