From: Peter Johnson Date: Sun, 19 Aug 2001 07:46:52 +0000 (-0000) Subject: Add RCSID(). X-Git-Tag: v0.1.0~360 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86f7268ea8a1c50b84015dde7b865242712549fc;p=yasm Add RCSID(). svn path=/trunk/yasm/; revision=151 --- diff --git a/frontends/yasm/yasm.c b/frontends/yasm/yasm.c index 05f79741..b5c2f61c 100644 --- a/frontends/yasm/yasm.c +++ b/frontends/yasm/yasm.c @@ -1,4 +1,4 @@ -/* $Id: yasm.c,v 1.9 2001/08/19 07:33:47 peter Exp $ +/* $Id: yasm.c,v 1.10 2001/08/19 07:46:52 peter Exp $ * Program entry point, command line parsing * * Copyright (C) 2001 Peter Johnson @@ -38,6 +38,8 @@ #include "preproc.h" #include "parser.h" +RCSID("$Id: yasm.c,v 1.10 2001/08/19 07:46:52 peter Exp $"); + char *filename = (char *)NULL; unsigned int line_number = 1; unsigned int mode_bits = 32; diff --git a/libyasm/bytecode.c b/libyasm/bytecode.c index d902da2e..347a45eb 100644 --- a/libyasm/bytecode.c +++ b/libyasm/bytecode.c @@ -1,4 +1,4 @@ -/* $Id: bytecode.c,v 1.18 2001/08/19 07:33:47 peter Exp $ +/* $Id: bytecode.c,v 1.19 2001/08/19 07:46:52 peter Exp $ * Bytecode utility functions * * Copyright (C) 2001 Peter Johnson @@ -38,6 +38,8 @@ #include "bytecode.h" +RCSID("$Id: bytecode.c,v 1.19 2001/08/19 07:46:52 peter Exp $"); + /* Static structures for when NULL is passed to conversion functions. */ /* for Convert*ToEA() */ static effaddr eff_static; diff --git a/libyasm/errwarn.c b/libyasm/errwarn.c index 45ad973e..c802a9a4 100644 --- a/libyasm/errwarn.c +++ b/libyasm/errwarn.c @@ -1,4 +1,4 @@ -/* $Id: errwarn.c,v 1.21 2001/08/19 07:33:47 peter Exp $ +/* $Id: errwarn.c,v 1.22 2001/08/19 07:46:52 peter Exp $ * Error and warning reporting and related functions. * * Copyright (C) 2001 Peter Johnson @@ -37,6 +37,8 @@ #include "globals.h" #include "errwarn.h" +RCSID("$Id: errwarn.c,v 1.22 2001/08/19 07:46:52 peter Exp $"); + /* Total error count for entire assembler run. * Assembler should exit with EXIT_FAILURE if this is >= 0 on finish. */ unsigned int error_count = 0; diff --git a/libyasm/expr.c b/libyasm/expr.c index cc4656db..9a3b2104 100644 --- a/libyasm/expr.c +++ b/libyasm/expr.c @@ -1,4 +1,4 @@ -/* $Id: expr.c,v 1.6 2001/08/19 07:33:47 peter Exp $ +/* $Id: expr.c,v 1.7 2001/08/19 07:46:52 peter Exp $ * Expression handling * * Copyright (C) 2001 Michael Urman @@ -37,6 +37,8 @@ #include "expr.h" #include "symrec.h" +RCSID("$Id: expr.c,v 1.7 2001/08/19 07:46:52 peter Exp $"); + /* allocate a new expression node, with children as defined. * If it's a unary operator, put the element on the right */ expr * diff --git a/libyasm/symrec.c b/libyasm/symrec.c index 7ef92982..153607bd 100644 --- a/libyasm/symrec.c +++ b/libyasm/symrec.c @@ -1,4 +1,4 @@ -/* $Id: symrec.c,v 1.7 2001/08/19 07:33:47 peter Exp $ +/* $Id: symrec.c,v 1.8 2001/08/19 07:46:52 peter Exp $ * Symbol table handling * * Copyright (C) 2001 Michael Urman @@ -34,6 +34,8 @@ #include "errwarn.h" #include "symrec.h" +RCSID("$Id: symrec.c,v 1.8 2001/08/19 07:46:52 peter Exp $"); + /* private functions */ static symtab *symtab_get(char *); static symtab *symtab_new(char *, SymType); diff --git a/libyasm/xstrdup.c b/libyasm/xstrdup.c index 42a42707..47f0bed6 100644 --- a/libyasm/xstrdup.c +++ b/libyasm/xstrdup.c @@ -1,4 +1,4 @@ -/* $Id: xstrdup.c,v 1.3 2001/08/19 07:33:47 peter Exp $ +/* $Id: xstrdup.c,v 1.4 2001/08/19 07:46:52 peter Exp $ * strdup() implementation for systems that don't have it. * * Copyright (c) 1988, 1993 @@ -54,6 +54,8 @@ void memcpy(void *, const void *, size_t); # endif #endif +RCSID("$Id: xstrdup.c,v 1.4 2001/08/19 07:46:52 peter Exp $"); + char * strdup(const char *str) { diff --git a/modules/arch/x86/expr.c b/modules/arch/x86/expr.c index cc4656db..9a3b2104 100644 --- a/modules/arch/x86/expr.c +++ b/modules/arch/x86/expr.c @@ -1,4 +1,4 @@ -/* $Id: expr.c,v 1.6 2001/08/19 07:33:47 peter Exp $ +/* $Id: expr.c,v 1.7 2001/08/19 07:46:52 peter Exp $ * Expression handling * * Copyright (C) 2001 Michael Urman @@ -37,6 +37,8 @@ #include "expr.h" #include "symrec.h" +RCSID("$Id: expr.c,v 1.7 2001/08/19 07:46:52 peter Exp $"); + /* allocate a new expression node, with children as defined. * If it's a unary operator, put the element on the right */ expr * diff --git a/modules/arch/x86/x86expr.c b/modules/arch/x86/x86expr.c index 27502b3b..3f0be59e 100644 --- a/modules/arch/x86/x86expr.c +++ b/modules/arch/x86/x86expr.c @@ -1,4 +1,4 @@ -/* $Id: x86expr.c,v 1.6 2001/08/19 07:33:47 peter Exp $ +/* $Id: x86expr.c,v 1.7 2001/08/19 07:46:52 peter Exp $ * Expression handling * * Copyright (C) 2001 Michael Urman @@ -37,6 +37,8 @@ #include "expr.h" #include "symrec.h" +RCSID("$Id: x86expr.c,v 1.7 2001/08/19 07:46:52 peter Exp $"); + /* allocate a new expression node, with children as defined. * If it's a unary operator, put the element on the right */ expr * diff --git a/modules/objfmts/dbg/dbg-objfmt.c b/modules/objfmts/dbg/dbg-objfmt.c index 1d8c00a5..eb41ca43 100644 --- a/modules/objfmts/dbg/dbg-objfmt.c +++ b/modules/objfmts/dbg/dbg-objfmt.c @@ -1,4 +1,4 @@ -/* $Id: dbg-objfmt.c,v 1.2 2001/08/19 07:33:47 peter Exp $ +/* $Id: dbg-objfmt.c,v 1.3 2001/08/19 07:46:52 peter Exp $ * Debugging output format (used to debug output format module interface) * * Copyright (C) 2001 Peter Johnson @@ -27,6 +27,8 @@ #include "outfmt.h" +RCSID("$Id: dbg-objfmt.c,v 1.3 2001/08/19 07:46:52 peter Exp $"); + /* Define outfmt structure -- see outfmt.h for details */ outfmt dbg_outfmt = { "Trace of all info passed to output format module", diff --git a/modules/objfmts/dbg/objfmt.c b/modules/objfmts/dbg/objfmt.c index af401439..74eef231 100644 --- a/modules/objfmts/dbg/objfmt.c +++ b/modules/objfmts/dbg/objfmt.c @@ -1,4 +1,4 @@ -/* $Id: objfmt.c,v 1.2 2001/08/19 07:33:47 peter Exp $ +/* $Id: objfmt.c,v 1.3 2001/08/19 07:46:52 peter Exp $ * Debugging output format (used to debug output format module interface) * * Copyright (C) 2001 Peter Johnson @@ -27,6 +27,8 @@ #include "outfmt.h" +RCSID("$Id: objfmt.c,v 1.3 2001/08/19 07:46:52 peter Exp $"); + /* Define outfmt structure -- see outfmt.h for details */ outfmt dbg_outfmt = { "Trace of all info passed to output format module", diff --git a/modules/objfmts/dbg/outfmt.c b/modules/objfmts/dbg/outfmt.c index 6b818134..ec5de2b5 100644 --- a/modules/objfmts/dbg/outfmt.c +++ b/modules/objfmts/dbg/outfmt.c @@ -1,4 +1,4 @@ -/* $Id: outfmt.c,v 1.2 2001/08/19 07:33:47 peter Exp $ +/* $Id: outfmt.c,v 1.3 2001/08/19 07:46:52 peter Exp $ * Debugging output format (used to debug output format module interface) * * Copyright (C) 2001 Peter Johnson @@ -27,6 +27,8 @@ #include "outfmt.h" +RCSID("$Id: outfmt.c,v 1.3 2001/08/19 07:46:52 peter Exp $"); + /* Define outfmt structure -- see outfmt.h for details */ outfmt dbg_outfmt = { "Trace of all info passed to output format module", diff --git a/modules/parsers/nasm/bison.y.in b/modules/parsers/nasm/bison.y.in index 48b8a74c..7c6667b8 100644 --- a/modules/parsers/nasm/bison.y.in +++ b/modules/parsers/nasm/bison.y.in @@ -1,4 +1,4 @@ -/* $Id: bison.y.in,v 1.26 2001/08/19 07:33:47 peter Exp $ +/* $Id: bison.y.in,v 1.27 2001/08/19 07:46:52 peter Exp $ * Main bison parser * * Copyright (C) 2001 Peter Johnson, Michael Urman @@ -38,6 +38,8 @@ #include "bytecode.h" +RCSID("$Id: bison.y.in,v 1.27 2001/08/19 07:46:52 peter Exp $"); + #define YYDEBUG 1 void init_table(void); diff --git a/modules/parsers/nasm/nasm-bison.y b/modules/parsers/nasm/nasm-bison.y index 2b73d996..26aac799 100644 --- a/modules/parsers/nasm/nasm-bison.y +++ b/modules/parsers/nasm/nasm-bison.y @@ -1,4 +1,4 @@ -/* $Id: nasm-bison.y,v 1.26 2001/08/19 07:33:47 peter Exp $ +/* $Id: nasm-bison.y,v 1.27 2001/08/19 07:46:52 peter Exp $ * Main bison parser * * Copyright (C) 2001 Peter Johnson, Michael Urman @@ -38,6 +38,8 @@ #include "bytecode.h" +RCSID("$Id: nasm-bison.y,v 1.27 2001/08/19 07:46:52 peter Exp $"); + #define YYDEBUG 1 void init_table(void); diff --git a/modules/parsers/nasm/nasm-parser.c b/modules/parsers/nasm/nasm-parser.c index 4d02b6ec..87d05989 100644 --- a/modules/parsers/nasm/nasm-parser.c +++ b/modules/parsers/nasm/nasm-parser.c @@ -1,4 +1,4 @@ -/* $Id: nasm-parser.c,v 1.5 2001/08/19 07:33:47 peter Exp $ +/* $Id: nasm-parser.c,v 1.6 2001/08/19 07:46:52 peter Exp $ * NASM-compatible parser * * Copyright (C) 2001 Peter Johnson @@ -33,6 +33,8 @@ #include "preproc.h" #include "parser.h" +RCSID("$Id: nasm-parser.c,v 1.6 2001/08/19 07:46:52 peter Exp $"); + extern FILE *nasm_parser_in; extern int nasm_parser_debug; diff --git a/modules/parsers/nasm/parser.c b/modules/parsers/nasm/parser.c index bac3b17a..6ec060bd 100644 --- a/modules/parsers/nasm/parser.c +++ b/modules/parsers/nasm/parser.c @@ -1,4 +1,4 @@ -/* $Id: parser.c,v 1.5 2001/08/19 07:33:47 peter Exp $ +/* $Id: parser.c,v 1.6 2001/08/19 07:46:52 peter Exp $ * NASM-compatible parser * * Copyright (C) 2001 Peter Johnson @@ -33,6 +33,8 @@ #include "preproc.h" #include "parser.h" +RCSID("$Id: parser.c,v 1.6 2001/08/19 07:46:52 peter Exp $"); + extern FILE *nasm_parser_in; extern int nasm_parser_debug; diff --git a/modules/parsers/nasm/token.l.in b/modules/parsers/nasm/token.l.in index 46771ede..5cc850a5 100644 --- a/modules/parsers/nasm/token.l.in +++ b/modules/parsers/nasm/token.l.in @@ -1,4 +1,4 @@ -/* $Id: token.l.in,v 1.14 2001/08/19 07:33:47 peter Exp $ +/* $Id: token.l.in,v 1.15 2001/08/19 07:46:52 peter Exp $ * Main lexer * * Copyright (C) 2001 Peter Johnson @@ -39,6 +39,8 @@ #include "bison.h" +RCSID("$Id: token.l.in,v 1.15 2001/08/19 07:46:52 peter Exp $"); + #define yylval nasm_parser_lval extern int (*nasm_parser_yyinput) (char *buf, int max_size); diff --git a/modules/preprocs/raw/preproc.c b/modules/preprocs/raw/preproc.c index a4fb5776..c21980f4 100644 --- a/modules/preprocs/raw/preproc.c +++ b/modules/preprocs/raw/preproc.c @@ -1,4 +1,4 @@ -/* $Id: preproc.c,v 1.4 2001/08/19 07:33:47 peter Exp $ +/* $Id: preproc.c,v 1.5 2001/08/19 07:46:52 peter Exp $ * Raw preprocessor (preforms NO preprocessing) * * Copyright (C) 2001 Peter Johnson @@ -23,6 +23,8 @@ # include "config.h" #endif +#include "util.h" + #include #include "errwarn.h" @@ -30,6 +32,8 @@ #include "outfmt.h" #include "preproc.h" +RCSID("$Id: preproc.c,v 1.5 2001/08/19 07:46:52 peter Exp $"); + static int is_interactive; static FILE *in; diff --git a/modules/preprocs/raw/raw-preproc.c b/modules/preprocs/raw/raw-preproc.c index d188283f..319a4343 100644 --- a/modules/preprocs/raw/raw-preproc.c +++ b/modules/preprocs/raw/raw-preproc.c @@ -1,4 +1,4 @@ -/* $Id: raw-preproc.c,v 1.4 2001/08/19 07:33:47 peter Exp $ +/* $Id: raw-preproc.c,v 1.5 2001/08/19 07:46:52 peter Exp $ * Raw preprocessor (preforms NO preprocessing) * * Copyright (C) 2001 Peter Johnson @@ -23,6 +23,8 @@ # include "config.h" #endif +#include "util.h" + #include #include "errwarn.h" @@ -30,6 +32,8 @@ #include "outfmt.h" #include "preproc.h" +RCSID("$Id: raw-preproc.c,v 1.5 2001/08/19 07:46:52 peter Exp $"); + static int is_interactive; static FILE *in; diff --git a/src/arch/x86/expr.c b/src/arch/x86/expr.c index cc4656db..9a3b2104 100644 --- a/src/arch/x86/expr.c +++ b/src/arch/x86/expr.c @@ -1,4 +1,4 @@ -/* $Id: expr.c,v 1.6 2001/08/19 07:33:47 peter Exp $ +/* $Id: expr.c,v 1.7 2001/08/19 07:46:52 peter Exp $ * Expression handling * * Copyright (C) 2001 Michael Urman @@ -37,6 +37,8 @@ #include "expr.h" #include "symrec.h" +RCSID("$Id: expr.c,v 1.7 2001/08/19 07:46:52 peter Exp $"); + /* allocate a new expression node, with children as defined. * If it's a unary operator, put the element on the right */ expr * diff --git a/src/arch/x86/x86expr.c b/src/arch/x86/x86expr.c index 27502b3b..3f0be59e 100644 --- a/src/arch/x86/x86expr.c +++ b/src/arch/x86/x86expr.c @@ -1,4 +1,4 @@ -/* $Id: x86expr.c,v 1.6 2001/08/19 07:33:47 peter Exp $ +/* $Id: x86expr.c,v 1.7 2001/08/19 07:46:52 peter Exp $ * Expression handling * * Copyright (C) 2001 Michael Urman @@ -37,6 +37,8 @@ #include "expr.h" #include "symrec.h" +RCSID("$Id: x86expr.c,v 1.7 2001/08/19 07:46:52 peter Exp $"); + /* allocate a new expression node, with children as defined. * If it's a unary operator, put the element on the right */ expr * diff --git a/src/bytecode.c b/src/bytecode.c index d902da2e..347a45eb 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -1,4 +1,4 @@ -/* $Id: bytecode.c,v 1.18 2001/08/19 07:33:47 peter Exp $ +/* $Id: bytecode.c,v 1.19 2001/08/19 07:46:52 peter Exp $ * Bytecode utility functions * * Copyright (C) 2001 Peter Johnson @@ -38,6 +38,8 @@ #include "bytecode.h" +RCSID("$Id: bytecode.c,v 1.19 2001/08/19 07:46:52 peter Exp $"); + /* Static structures for when NULL is passed to conversion functions. */ /* for Convert*ToEA() */ static effaddr eff_static; diff --git a/src/errwarn.c b/src/errwarn.c index 45ad973e..c802a9a4 100644 --- a/src/errwarn.c +++ b/src/errwarn.c @@ -1,4 +1,4 @@ -/* $Id: errwarn.c,v 1.21 2001/08/19 07:33:47 peter Exp $ +/* $Id: errwarn.c,v 1.22 2001/08/19 07:46:52 peter Exp $ * Error and warning reporting and related functions. * * Copyright (C) 2001 Peter Johnson @@ -37,6 +37,8 @@ #include "globals.h" #include "errwarn.h" +RCSID("$Id: errwarn.c,v 1.22 2001/08/19 07:46:52 peter Exp $"); + /* Total error count for entire assembler run. * Assembler should exit with EXIT_FAILURE if this is >= 0 on finish. */ unsigned int error_count = 0; diff --git a/src/expr.c b/src/expr.c index cc4656db..9a3b2104 100644 --- a/src/expr.c +++ b/src/expr.c @@ -1,4 +1,4 @@ -/* $Id: expr.c,v 1.6 2001/08/19 07:33:47 peter Exp $ +/* $Id: expr.c,v 1.7 2001/08/19 07:46:52 peter Exp $ * Expression handling * * Copyright (C) 2001 Michael Urman @@ -37,6 +37,8 @@ #include "expr.h" #include "symrec.h" +RCSID("$Id: expr.c,v 1.7 2001/08/19 07:46:52 peter Exp $"); + /* allocate a new expression node, with children as defined. * If it's a unary operator, put the element on the right */ expr * diff --git a/src/main.c b/src/main.c index ca917c06..17f52681 100644 --- a/src/main.c +++ b/src/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.9 2001/08/19 07:33:47 peter Exp $ +/* $Id: main.c,v 1.10 2001/08/19 07:46:52 peter Exp $ * Program entry point, command line parsing * * Copyright (C) 2001 Peter Johnson @@ -38,6 +38,8 @@ #include "preproc.h" #include "parser.h" +RCSID("$Id: main.c,v 1.10 2001/08/19 07:46:52 peter Exp $"); + char *filename = (char *)NULL; unsigned int line_number = 1; unsigned int mode_bits = 32; diff --git a/src/objfmts/dbg/dbg-objfmt.c b/src/objfmts/dbg/dbg-objfmt.c index 1d8c00a5..eb41ca43 100644 --- a/src/objfmts/dbg/dbg-objfmt.c +++ b/src/objfmts/dbg/dbg-objfmt.c @@ -1,4 +1,4 @@ -/* $Id: dbg-objfmt.c,v 1.2 2001/08/19 07:33:47 peter Exp $ +/* $Id: dbg-objfmt.c,v 1.3 2001/08/19 07:46:52 peter Exp $ * Debugging output format (used to debug output format module interface) * * Copyright (C) 2001 Peter Johnson @@ -27,6 +27,8 @@ #include "outfmt.h" +RCSID("$Id: dbg-objfmt.c,v 1.3 2001/08/19 07:46:52 peter Exp $"); + /* Define outfmt structure -- see outfmt.h for details */ outfmt dbg_outfmt = { "Trace of all info passed to output format module", diff --git a/src/objfmts/dbg/objfmt.c b/src/objfmts/dbg/objfmt.c index af401439..74eef231 100644 --- a/src/objfmts/dbg/objfmt.c +++ b/src/objfmts/dbg/objfmt.c @@ -1,4 +1,4 @@ -/* $Id: objfmt.c,v 1.2 2001/08/19 07:33:47 peter Exp $ +/* $Id: objfmt.c,v 1.3 2001/08/19 07:46:52 peter Exp $ * Debugging output format (used to debug output format module interface) * * Copyright (C) 2001 Peter Johnson @@ -27,6 +27,8 @@ #include "outfmt.h" +RCSID("$Id: objfmt.c,v 1.3 2001/08/19 07:46:52 peter Exp $"); + /* Define outfmt structure -- see outfmt.h for details */ outfmt dbg_outfmt = { "Trace of all info passed to output format module", diff --git a/src/objfmts/dbg/outfmt.c b/src/objfmts/dbg/outfmt.c index 6b818134..ec5de2b5 100644 --- a/src/objfmts/dbg/outfmt.c +++ b/src/objfmts/dbg/outfmt.c @@ -1,4 +1,4 @@ -/* $Id: outfmt.c,v 1.2 2001/08/19 07:33:47 peter Exp $ +/* $Id: outfmt.c,v 1.3 2001/08/19 07:46:52 peter Exp $ * Debugging output format (used to debug output format module interface) * * Copyright (C) 2001 Peter Johnson @@ -27,6 +27,8 @@ #include "outfmt.h" +RCSID("$Id: outfmt.c,v 1.3 2001/08/19 07:46:52 peter Exp $"); + /* Define outfmt structure -- see outfmt.h for details */ outfmt dbg_outfmt = { "Trace of all info passed to output format module", diff --git a/src/parsers/nasm/bison.y.in b/src/parsers/nasm/bison.y.in index 48b8a74c..7c6667b8 100644 --- a/src/parsers/nasm/bison.y.in +++ b/src/parsers/nasm/bison.y.in @@ -1,4 +1,4 @@ -/* $Id: bison.y.in,v 1.26 2001/08/19 07:33:47 peter Exp $ +/* $Id: bison.y.in,v 1.27 2001/08/19 07:46:52 peter Exp $ * Main bison parser * * Copyright (C) 2001 Peter Johnson, Michael Urman @@ -38,6 +38,8 @@ #include "bytecode.h" +RCSID("$Id: bison.y.in,v 1.27 2001/08/19 07:46:52 peter Exp $"); + #define YYDEBUG 1 void init_table(void); diff --git a/src/parsers/nasm/nasm-bison.y b/src/parsers/nasm/nasm-bison.y index 2b73d996..26aac799 100644 --- a/src/parsers/nasm/nasm-bison.y +++ b/src/parsers/nasm/nasm-bison.y @@ -1,4 +1,4 @@ -/* $Id: nasm-bison.y,v 1.26 2001/08/19 07:33:47 peter Exp $ +/* $Id: nasm-bison.y,v 1.27 2001/08/19 07:46:52 peter Exp $ * Main bison parser * * Copyright (C) 2001 Peter Johnson, Michael Urman @@ -38,6 +38,8 @@ #include "bytecode.h" +RCSID("$Id: nasm-bison.y,v 1.27 2001/08/19 07:46:52 peter Exp $"); + #define YYDEBUG 1 void init_table(void); diff --git a/src/parsers/nasm/nasm-parser.c b/src/parsers/nasm/nasm-parser.c index 4d02b6ec..87d05989 100644 --- a/src/parsers/nasm/nasm-parser.c +++ b/src/parsers/nasm/nasm-parser.c @@ -1,4 +1,4 @@ -/* $Id: nasm-parser.c,v 1.5 2001/08/19 07:33:47 peter Exp $ +/* $Id: nasm-parser.c,v 1.6 2001/08/19 07:46:52 peter Exp $ * NASM-compatible parser * * Copyright (C) 2001 Peter Johnson @@ -33,6 +33,8 @@ #include "preproc.h" #include "parser.h" +RCSID("$Id: nasm-parser.c,v 1.6 2001/08/19 07:46:52 peter Exp $"); + extern FILE *nasm_parser_in; extern int nasm_parser_debug; diff --git a/src/parsers/nasm/parser.c b/src/parsers/nasm/parser.c index bac3b17a..6ec060bd 100644 --- a/src/parsers/nasm/parser.c +++ b/src/parsers/nasm/parser.c @@ -1,4 +1,4 @@ -/* $Id: parser.c,v 1.5 2001/08/19 07:33:47 peter Exp $ +/* $Id: parser.c,v 1.6 2001/08/19 07:46:52 peter Exp $ * NASM-compatible parser * * Copyright (C) 2001 Peter Johnson @@ -33,6 +33,8 @@ #include "preproc.h" #include "parser.h" +RCSID("$Id: parser.c,v 1.6 2001/08/19 07:46:52 peter Exp $"); + extern FILE *nasm_parser_in; extern int nasm_parser_debug; diff --git a/src/parsers/nasm/token.l.in b/src/parsers/nasm/token.l.in index 46771ede..5cc850a5 100644 --- a/src/parsers/nasm/token.l.in +++ b/src/parsers/nasm/token.l.in @@ -1,4 +1,4 @@ -/* $Id: token.l.in,v 1.14 2001/08/19 07:33:47 peter Exp $ +/* $Id: token.l.in,v 1.15 2001/08/19 07:46:52 peter Exp $ * Main lexer * * Copyright (C) 2001 Peter Johnson @@ -39,6 +39,8 @@ #include "bison.h" +RCSID("$Id: token.l.in,v 1.15 2001/08/19 07:46:52 peter Exp $"); + #define yylval nasm_parser_lval extern int (*nasm_parser_yyinput) (char *buf, int max_size); diff --git a/src/preprocs/raw/preproc.c b/src/preprocs/raw/preproc.c index a4fb5776..c21980f4 100644 --- a/src/preprocs/raw/preproc.c +++ b/src/preprocs/raw/preproc.c @@ -1,4 +1,4 @@ -/* $Id: preproc.c,v 1.4 2001/08/19 07:33:47 peter Exp $ +/* $Id: preproc.c,v 1.5 2001/08/19 07:46:52 peter Exp $ * Raw preprocessor (preforms NO preprocessing) * * Copyright (C) 2001 Peter Johnson @@ -23,6 +23,8 @@ # include "config.h" #endif +#include "util.h" + #include #include "errwarn.h" @@ -30,6 +32,8 @@ #include "outfmt.h" #include "preproc.h" +RCSID("$Id: preproc.c,v 1.5 2001/08/19 07:46:52 peter Exp $"); + static int is_interactive; static FILE *in; diff --git a/src/preprocs/raw/raw-preproc.c b/src/preprocs/raw/raw-preproc.c index d188283f..319a4343 100644 --- a/src/preprocs/raw/raw-preproc.c +++ b/src/preprocs/raw/raw-preproc.c @@ -1,4 +1,4 @@ -/* $Id: raw-preproc.c,v 1.4 2001/08/19 07:33:47 peter Exp $ +/* $Id: raw-preproc.c,v 1.5 2001/08/19 07:46:52 peter Exp $ * Raw preprocessor (preforms NO preprocessing) * * Copyright (C) 2001 Peter Johnson @@ -23,6 +23,8 @@ # include "config.h" #endif +#include "util.h" + #include #include "errwarn.h" @@ -30,6 +32,8 @@ #include "outfmt.h" #include "preproc.h" +RCSID("$Id: raw-preproc.c,v 1.5 2001/08/19 07:46:52 peter Exp $"); + static int is_interactive; static FILE *in; diff --git a/src/strdup.c b/src/strdup.c index f92f3c23..310da43e 100644 --- a/src/strdup.c +++ b/src/strdup.c @@ -1,4 +1,4 @@ -/* $Id: strdup.c,v 1.3 2001/08/19 07:33:47 peter Exp $ +/* $Id: strdup.c,v 1.4 2001/08/19 07:46:52 peter Exp $ * strdup() implementation for systems that don't have it. * * Copyright (c) 1988, 1993 @@ -54,6 +54,8 @@ void memcpy(void *, const void *, size_t); # endif #endif +RCSID("$Id: strdup.c,v 1.4 2001/08/19 07:46:52 peter Exp $"); + char * strdup(const char *str) { diff --git a/src/strtoul.c b/src/strtoul.c index a51bac64..3be4cdb0 100644 --- a/src/strtoul.c +++ b/src/strtoul.c @@ -1,4 +1,4 @@ -/* $Id: strtoul.c,v 1.2 2001/08/19 07:33:47 peter Exp $ +/* $Id: strtoul.c,v 1.3 2001/08/19 07:46:52 peter Exp $ * strtoul() implementation for systems that don't have it. * * Copyright (c) 1990, 1993 @@ -49,6 +49,8 @@ static char sccsid[] = "@(#)strtoul.c 8.1 (Berkeley) 6/4/93"; # include #endif +RCSID("$Id: strtoul.c,v 1.3 2001/08/19 07:46:52 peter Exp $"); + /* * Convert a string to an unsigned long integer. * diff --git a/src/symrec.c b/src/symrec.c index 7ef92982..153607bd 100644 --- a/src/symrec.c +++ b/src/symrec.c @@ -1,4 +1,4 @@ -/* $Id: symrec.c,v 1.7 2001/08/19 07:33:47 peter Exp $ +/* $Id: symrec.c,v 1.8 2001/08/19 07:46:52 peter Exp $ * Symbol table handling * * Copyright (C) 2001 Michael Urman @@ -34,6 +34,8 @@ #include "errwarn.h" #include "symrec.h" +RCSID("$Id: symrec.c,v 1.8 2001/08/19 07:46:52 peter Exp $"); + /* private functions */ static symtab *symtab_get(char *); static symtab *symtab_new(char *, SymType); diff --git a/src/xstrdup.c b/src/xstrdup.c index 42a42707..47f0bed6 100644 --- a/src/xstrdup.c +++ b/src/xstrdup.c @@ -1,4 +1,4 @@ -/* $Id: xstrdup.c,v 1.3 2001/08/19 07:33:47 peter Exp $ +/* $Id: xstrdup.c,v 1.4 2001/08/19 07:46:52 peter Exp $ * strdup() implementation for systems that don't have it. * * Copyright (c) 1988, 1993 @@ -54,6 +54,8 @@ void memcpy(void *, const void *, size_t); # endif #endif +RCSID("$Id: xstrdup.c,v 1.4 2001/08/19 07:46:52 peter Exp $"); + char * strdup(const char *str) {