Added RCS identification.
authorem <none@none>
Tue, 27 Nov 1984 23:13:28 +0000 (23:13 +0000)
committerem <none@none>
Tue, 27 Nov 1984 23:13:28 +0000 (23:13 +0000)
17 files changed:
lang/basic/src.old/basic.lex
lang/basic/src.old/basic.yacc
lang/basic/src.old/bem.c
lang/basic/src.old/bem.h
lang/basic/src.old/compile.c
lang/basic/src.old/eval.c
lang/basic/src.old/func.c
lang/basic/src.old/gencode.c
lang/basic/src.old/graph.c
lang/basic/src.old/graph.h
lang/basic/src.old/initialize.c
lang/basic/src.old/parsepar.c
lang/basic/src.old/split.c
lang/basic/src.old/symbols.c
lang/basic/src.old/symbols.h
lang/basic/src.old/util.c
lang/basic/src.old/yywrap.c

index ebdb3c8..a708e9e 100644 (file)
@@ -1,3 +1,7 @@
+#ifndef NORSCID
+static char rcs_id[] = "$Header$" ;
+#endif
+
 /* This file contains the new lexical analizer */
 typedef struct {
        char *name; 
index a828857..c08f750 100644 (file)
@@ -458,4 +458,7 @@ exprlist: expression        { typetable[0]= $1; $$=1;}
        | exprlist ',' expression { typetable[$1]=$3;$$=$1+1;}
 
 %%
+#ifndef NORCSID
+static char rcs_id[]   = "$Header$" ;
+#endif
 #include "lex.c"
index a3be730..c91d606 100644 (file)
@@ -1,5 +1,12 @@
 #include "bem.h"
 
+#ifndef NORSCID
+static char rcs_id[]   = "$Header$" ;
+static char rcs_bem[]  = RCS_BEM ;
+static char rcs_symb[] = RCS_SYMB ;
+static char rcs_graph[]        = RCS_GRAPH ;
+#endif
+
 /* Author: M.L. Kersten
 **
 ** This is the main routine for the BASIC-EM frontend.
index 9a70c3a..ccf0089 100644 (file)
@@ -9,6 +9,10 @@
 #include "graph.h"
 #include "y.tab.h"
 
+#ifndef NORCSID
+# define RCS_BEM       "$Header$"
+#endif
+
 #define POINTERSIZE    4
 #define MAXINT         32768
 #define MININT         -32767
index 0ff3039..f23e44f 100644 (file)
@@ -1,5 +1,10 @@
 #include "bem.h"
 
+#ifndef NORSCID
+static char rcs_id[] = "$Header$" ;
+#endif
+
+
 /* compile the next program in the list */
 
 FILE *yyin;
index fb609cd..2cddba5 100644 (file)
@@ -1,5 +1,10 @@
 #include "bem.h"
 
+#ifndef NORSCID
+static char rcs_id[] = "$Header$" ;
+#endif
+
+
 /* Here you find all routines to evaluate expressions and
    generate code for assignment statements
 */
index e55332d..2bbddc9 100644 (file)
@@ -1,5 +1,10 @@
 #include "bem.h"
 
+#ifndef NORSCID
+static char rcs_id[] = "$Header$" ;
+#endif
+
+
 /* expression types for predefined functions are assembled */
 int    typetable[10];
 int    exprlimit;
index 16aa003..4364754 100644 (file)
@@ -1,5 +1,10 @@
 #include "bem.h"
 
+#ifndef NORSCID
+static char rcs_id[] = "$Header$" ;
+#endif
+
+
 /* Here we find all routines dealing with pure EM code generation */
 
 static int     emlabel=1;
index 7801da7..dc68534 100644 (file)
@@ -1,5 +1,10 @@
 #include "bem.h"
 
+#ifndef NORSCID
+static char rcs_id[] = "$Header$" ;
+#endif
+
+
 List *forwardlabel=0;
 
 /* Line management is handled here */
index 732b56e..43300be 100644 (file)
@@ -1,4 +1,9 @@
 #
+
+#ifndef NORCSID
+# define RCS_GRAPH     "$Header$"
+#endif
+
 /* 
 ** The control graph is represented by a multi-list structure.
 ** The em code is stored on the em intermediate file already
index 26fd2e7..a98af63 100644 (file)
@@ -1,5 +1,10 @@
 #include "bem.h"
 
+#ifndef NORSCID
+static char rcs_id[] = "$Header$" ;
+#endif
+
+
 /* generate temporary files etc */
 
 FILE   *emfile;
index e0bfdae..67c5448 100644 (file)
@@ -1,5 +1,9 @@
 #include "bem.h"
 
+#ifndef NORSCID
+static char rcs_id[] = "$Header$" ;
+#endif
+
 int    listing;                /* -l listing required */
 int    debug;                  /* -d compiler debugging */
 int    wflag=1;                /* -w no warnings */
index 6928b01..54ac692 100644 (file)
@@ -1,5 +1,9 @@
 #include "bem.h"
 
+#ifndef NORSCID
+static char rcs_id[] = "$Header$" ;
+#endif
+
 /* Split the intermediate code into procedures.
    This is necessary to make the EM code fit on
    smaller machines. (for the Peephole optimizer!)
index 4e79fb0..3b5f924 100644 (file)
@@ -1,4 +1,9 @@
 #include "bem.h"
+
+#ifndef NORSCID
+static char rcs_id[] = "$Header$" ;
+#endif
+
 /* Symboltable management module */
 
 int    deftype[128];           /* default type declarer */
index 8dee4c1..0cef2aa 100644 (file)
@@ -1,3 +1,7 @@
+#ifndef NORCSID
+# define RCS_SYMB      "$Header$"
+#endif
+
 #define NIL    0
 #define TRUE   1
 #define FALSE  0
index b530071..7190318 100644 (file)
@@ -1,5 +1,9 @@
 #include "bem.h"
 
+#ifndef NORSCID
+static char rcs_id[] = "$Header$" ;
+#endif
+
 #define abs(X)  (X>=0?X:-X)
 /* Miscelaneous routines can be found here */
 
index b08ecc0..096e2ad 100644 (file)
@@ -1,5 +1,9 @@
 #include "bem.h"
 
+#ifndef NORSCID
+static char rcs_id[] = "$Header$" ;
+#endif
+
 /* Author: M.L. Kersten
 ** yywrap is called upon encountering endoffile on yyin.
 ** when more input files are present, it moves to the next