From 8bd2ea80fe43d63b70259b5e010e54377854c0dd Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Wed, 12 Jan 2000 04:09:03 +0000 Subject: [PATCH] Added cvstags git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@54 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules1.1/debug.cxx | 3 ++ Source/Modules1.1/guile.cxx | 2 + Source/Modules1.1/perl5.cxx | 2 + Source/Modules1.1/pycpp.cxx | 2 + Source/Modules1.1/python.cxx | 2 + Source/Modules1.1/swigmain.cxx | 2 + Source/Modules1.1/tcl8.cxx | 2 + Source/Preprocessor/cpp.c | 2 + Source/Preprocessor/expr.c | 2 + Source/SWIG1.1/ascii.cxx | 92 +--------------------------------- Source/SWIG1.1/comment.cxx | 53 +------------------- Source/SWIG1.1/cplus.cxx | 23 ++------- Source/SWIG1.1/emit.cxx | 88 ++------------------------------ Source/SWIG1.1/getopt.cxx | 2 + Source/SWIG1.1/hash.cxx | 2 + Source/SWIG1.1/html.cxx | 2 + Source/SWIG1.1/include.cxx | 2 + Source/SWIG1.1/lang.cxx | 1 + Source/SWIG1.1/latex.cxx | 2 + Source/SWIG1.1/main.cxx | 2 + Source/SWIG1.1/naming.cxx | 2 + Source/SWIG1.1/newdoc.cxx | 2 + Source/SWIG1.1/parms.cxx | 2 + Source/SWIG1.1/parser.y | 2 + Source/SWIG1.1/scanner.cxx | 2 + Source/SWIG1.1/sstring.cxx | 2 + Source/SWIG1.1/symbol.cxx | 45 +---------------- Source/SWIG1.1/typemap.cxx | 2 + Source/SWIG1.1/types.cxx | 2 + Source/SWIG1.1/wrapfunc.cxx | 2 + Source/Swig/getopt.c | 2 + Source/Swig/include.c | 2 + Source/Swig/misc.c | 2 + Source/Swig/scanner.c | 1 + 34 files changed, 68 insertions(+), 290 deletions(-) diff --git a/Source/Modules1.1/debug.cxx b/Source/Modules1.1/debug.cxx index 10f2805bc..e08f9623f 100644 --- a/Source/Modules1.1/debug.cxx +++ b/Source/Modules1.1/debug.cxx @@ -12,6 +12,9 @@ * Please read the file LICENSE for the copyright and terms by which SWIG * can be used and distributed. *******************************************************************************/ + +static char cvsroot[] = "$Header$"; + /************************************************************************** * $Header$ * diff --git a/Source/Modules1.1/guile.cxx b/Source/Modules1.1/guile.cxx index 36a00a307..7fcafb224 100644 --- a/Source/Modules1.1/guile.cxx +++ b/Source/Modules1.1/guile.cxx @@ -13,6 +13,8 @@ * can be used and distributed. *******************************************************************************/ +static char cvsroot[] = "$Header$"; + /*********************************************************************** * $Header$ * diff --git a/Source/Modules1.1/perl5.cxx b/Source/Modules1.1/perl5.cxx index daa00a651..f1cf29494 100644 --- a/Source/Modules1.1/perl5.cxx +++ b/Source/Modules1.1/perl5.cxx @@ -13,6 +13,8 @@ * can be used and distributed. *******************************************************************************/ +static char cvsroot[] = "$Header$"; + /*********************************************************************** * $Header$ * diff --git a/Source/Modules1.1/pycpp.cxx b/Source/Modules1.1/pycpp.cxx index 5aec6110d..29766e9b0 100644 --- a/Source/Modules1.1/pycpp.cxx +++ b/Source/Modules1.1/pycpp.cxx @@ -13,6 +13,8 @@ * can be used and distributed. *******************************************************************************/ +static char cvsroot[] = "$Header$"; + /********************************************************************** * $Header$ * diff --git a/Source/Modules1.1/python.cxx b/Source/Modules1.1/python.cxx index 53402419d..128cf9446 100644 --- a/Source/Modules1.1/python.cxx +++ b/Source/Modules1.1/python.cxx @@ -13,6 +13,8 @@ * can be used and distributed. *******************************************************************************/ +static char cvsroot[] = "$Header$"; + /********************************************************************** * $Header$ * diff --git a/Source/Modules1.1/swigmain.cxx b/Source/Modules1.1/swigmain.cxx index 8f6ecc087..cf3ca9d0c 100644 --- a/Source/Modules1.1/swigmain.cxx +++ b/Source/Modules1.1/swigmain.cxx @@ -13,6 +13,8 @@ * can be used and distributed. *******************************************************************************/ +static char cvsroot[] = "$Header$"; + /*********************************************************************** * $Header$ * diff --git a/Source/Modules1.1/tcl8.cxx b/Source/Modules1.1/tcl8.cxx index 4280af008..026589f8e 100644 --- a/Source/Modules1.1/tcl8.cxx +++ b/Source/Modules1.1/tcl8.cxx @@ -13,6 +13,8 @@ * can be used and distributed. *******************************************************************************/ +static char cvsroot[] = "$Header$"; + /*********************************************************************** * $Header$ * diff --git a/Source/Preprocessor/cpp.c b/Source/Preprocessor/cpp.c index adacfdba0..8f050e820 100644 --- a/Source/Preprocessor/cpp.c +++ b/Source/Preprocessor/cpp.c @@ -13,6 +13,8 @@ * can be used and distributed. ****************************************************************************/ +static char cvsroot[] = "$Header$"; + #include "swigcpp.h" #include diff --git a/Source/Preprocessor/expr.c b/Source/Preprocessor/expr.c index 68fae2a95..2fb8d4a98 100644 --- a/Source/Preprocessor/expr.c +++ b/Source/Preprocessor/expr.c @@ -13,6 +13,8 @@ * can be used and distributed. ****************************************************************************/ +static char cvsroot[] = "$Header$"; + #include "swigcpp.h" /* ----------------------------------------------------------------------------- diff --git a/Source/SWIG1.1/ascii.cxx b/Source/SWIG1.1/ascii.cxx index 9028d0b87..79c898c83 100644 --- a/Source/SWIG1.1/ascii.cxx +++ b/Source/SWIG1.1/ascii.cxx @@ -26,17 +26,10 @@ * *******************************************************************************/ +static char cvstag[] = "$Header$"; + // ----------------------------------------------------------------------------- // ASCII::ASCII() -// -// Constructor. Initializes the ASCII module. -// -// Inputs : None -// -// Output : Documentation module object -// -// Side Effects : -// Sets page-width and indentation. // ----------------------------------------------------------------------------- ASCII::ASCII() { @@ -50,16 +43,6 @@ ASCII::ASCII() { // // Prints a string to the documentation file. Performs line wrapping and // other formatting. -// -// Inputs : -// s = NULL terminate ASCII string -// margin = Number of characters to be inserted on left side -// mode = If set, text will be reformatted. Otherwise, it's -// printed verbatim (with indentation). -// -// Output : None -// -// Side Effects : None // ----------------------------------------------------------------------------- void ASCII::print_string(char *s, int margin, int mode) { @@ -154,13 +137,6 @@ void ASCII::print_string(char *s, int margin, int mode) { // void ASCII::print_decl(DocEntry *de) // // Prints the documentation entry corresponding to a declaration -// -// Inputs : -// de = Documentation entry (which should be for a declaration) -// -// Output : None -// -// Side Effects : None // ----------------------------------------------------------------------------- void ASCII::print_decl(DocEntry *de) { @@ -198,13 +174,6 @@ void ASCII::print_decl(DocEntry *de) { // // Prints the documentation for a block of text. Will strip any leading white // space from the text block. -// -// Inputs : -// de = Documentation entry of text -// -// Output : None -// -// Side Effects : None // ----------------------------------------------------------------------------- void ASCII::print_text(DocEntry *de) { @@ -221,13 +190,6 @@ void ASCII::print_text(DocEntry *de) { // void ASCII::title(DocEntry *de) // // Sets the title of the documentation file. -// -// Inputs : -// de = Documentation entry of the title. -// -// Output : None -// -// Side Effects : None // ----------------------------------------------------------------------------- void ASCII::title(DocEntry *de) { @@ -260,15 +222,6 @@ void ASCII::title(DocEntry *de) { // // Starts a new section. Will underline major sections and subsections, but // not minor subsections. -// -// Inputs : -// de = Documentation entry of the section -// sectnum = Section number. -// -// Output : None -// -// Side Effects : -// Forces a new subsection to be created within the ASCII module. // ----------------------------------------------------------------------------- void ASCII::newsection(DocEntry *de,int sectnum) { @@ -326,13 +279,6 @@ void ASCII::newsection(DocEntry *de,int sectnum) { // // Ends the current section. It is an error to call this without having first // called newsection(). -// -// Inputs : None -// -// Output : None -// -// Side Effects : -// Pops out of the current section, moving back into the parent section // ----------------------------------------------------------------------------- void ASCII::endsection() { @@ -344,12 +290,6 @@ void ASCII::endsection() { // // Prints a small dashed line that is used to designate the end of C++ class // subsections. -// -// Inputs : None -// -// Output : None -// -// Side Effects : None // ----------------------------------------------------------------------------- void ASCII::separator() { @@ -363,12 +303,6 @@ void ASCII::separator() { // void ASCII::init(char *filename) // // Initializes the documentation module and opens up the documentation file. -// -// Inputs : filename = name of documentation file (without suffix) -// -// Output : None -// -// Side Effects : Opens the documentation file. // ----------------------------------------------------------------------------- void ASCII::init(char *filename) { @@ -388,12 +322,6 @@ void ASCII::init(char *filename) { // void ASCII::close() // // Closes the documentation module. This function should only be called once -// -// Inputs : None -// -// Output : None -// -// Side Effects : Closes the documentation file. // ----------------------------------------------------------------------------- void ASCII::close(void) { @@ -409,14 +337,6 @@ void ASCII::close(void) { // // Looks for style parameters that the user might have supplied using the // %style directive. Unrecognized options are simply ignored. -// -// Inputs : -// name = name of the style parameter -// value = value of the style parameter (optional) -// -// Output : None -// -// Side Effects : Can change internal settings of 'indent' and 'columns' members. // ----------------------------------------------------------------------------- void ASCII::style(char *name, char *value) { @@ -435,14 +355,6 @@ void ASCII::style(char *name, char *value) { // void ASCII::parse_args(int argc, char **argv) // // Function for processing options supplied on the SWIG command line. -// -// Inputs : -// argc = Number of arguments -// argv = Argument strings -// -// Output : None -// -// Side Effects : May set various internal parameters. // ----------------------------------------------------------------------------- static char *ascii_usage = "\ diff --git a/Source/SWIG1.1/comment.cxx b/Source/SWIG1.1/comment.cxx index 5aade8c17..b39a4a97a 100644 --- a/Source/SWIG1.1/comment.cxx +++ b/Source/SWIG1.1/comment.cxx @@ -42,6 +42,8 @@ * *******************************************************************************/ +static char cvstag[] = "$Header$"; + // ----------------------------------------------------------------------------- // struct Comment // @@ -338,12 +340,6 @@ DocEntryList *DocEntryList::doc_list = 0; // // Constructor. Creates a new comment handler. Sets up some default values // for comment handling. -// -// Inputs : None -// -// Output : New CommentHandler object. -// -// Side Effects : Sets default comment handling parameters. // ----------------------------------------------------------------------------- CommentHandler::CommentHandler() { @@ -362,13 +358,6 @@ CommentHandler::CommentHandler() { // // Constructor. Creates a new comment handler, but copies attributes from // another handler. -// -// Inputs : -// c = A different comment handler. -// -// Output : A new CommentHandler object. -// -// Side Effects : None // ----------------------------------------------------------------------------- CommentHandler::CommentHandler(CommentHandler *c) { @@ -387,12 +376,6 @@ CommentHandler::CommentHandler(CommentHandler *c) { // // Destructor. Destroys a comment handler. Does nothing interesting at the // moment. -// -// Inputs : None -// -// Output : None -// -// Side Effects : None // ----------------------------------------------------------------------------- CommentHandler::~CommentHandler() { @@ -416,8 +399,6 @@ CommentHandler::~CommentHandler() { // col = Starting column of the comment // file = File in which the comment was located. // -// Output : None -// // Side Effects : // Saves the comment in an internal linked list. // If multiple comments appear in succession, some may end up @@ -468,10 +449,6 @@ void CommentHandler::add_comment(char *text, int line_num, int col, char *file) // // We will place the doc entry into our documentation list and then // check it to see if any comments are sitting around. -// -// Inputs : d = Documentation Entry -// -// Output : None // // Side Effects : // May attach comments to the documentation entry. In this case, @@ -498,14 +475,6 @@ void CommentHandler::set_entry(DocEntry *d) { // Checks all documentation entries and sees if there are any comments available. // If so, they are attached. This function is usually only called upon completion // of parsing. -// -// Inputs : None -// -// Output : None -// -// Side Effects : -// Removes documentation entries and comments from internal lists. -// // ----------------------------------------------------------------------------- void CommentHandler::cleanup() { @@ -553,15 +522,6 @@ void CommentHandler::cleanup() { // untabify - Strip tabs and convert them into spaces. // ignore - Ignore comments // enable - Enable comments -// -// Inputs : -// name - Name of style parameter -// value - Optional parameter value -// -// Output : None -// -// Side Effects : Changes style of comment handler object. -// // ----------------------------------------------------------------------------- void CommentHandler::style(char *name, char *value) { @@ -601,15 +561,6 @@ void CommentHandler::style(char *name, char *value) { // // Function for processing command line options given on the SWIG command line. // See the help string below for available options. -// -// Inputs : -// argc = Argument count -// argv = Argument strings -// -// Output : None -// -// Side Effects : -// Changes various style parameters for the top-level CommentHandler. // ----------------------------------------------------------------------------- static char *comment_usage = "\ diff --git a/Source/SWIG1.1/cplus.cxx b/Source/SWIG1.1/cplus.cxx index d28036a5a..c792f8c10 100644 --- a/Source/SWIG1.1/cplus.cxx +++ b/Source/SWIG1.1/cplus.cxx @@ -15,6 +15,8 @@ #include "internal.h" +static char cvstag[] = "$Header$"; + /******************************************************************************* * $Header$ * @@ -113,6 +115,7 @@ * *******************************************************************************/ + // Some status variables static int Inherit_mode = 0; // Set if we're inheriting members @@ -139,12 +142,6 @@ void cplus_inherit_decl(char **); // // Adds a new datatype to the local datatype hash. This is used to handle // datatypes defined within a class. -// -// Inputs : Datatype to place in hash -// -// Output : None -// -// Side Effects : Updates localtypes hash. // ----------------------------------------------------------------------------- static void add_local_type(char *type, char *classname) { @@ -166,12 +163,6 @@ void add_local_type(DataType *type, char *classname) { // Checks to see whether this datatype is part of a class definition. If so, // we update the type-name by appending the class prefix to it. Uses the // name stored in current_class unless unavailable. -// -// Inputs : type = Datatype -// -// Output : type is updated with a new name. -// -// Side Effects : None // ----------------------------------------------------------------------------- static void update_local_type(DataType *type) { @@ -193,12 +184,6 @@ static void update_local_type(DataType *type) { // // Updates all of the parameters in a parameter list with the proper C++ prefix // (if neccessary). -// -// Inputs : l = Parameter list -// -// Output : Parameter list l is updated (make sure its a copy!) -// -// Side Effects : None // ----------------------------------------------------------------------------- static void update_parms(ParmList *l) { @@ -787,8 +772,6 @@ char *cplus_base_class(char *name) { // rname = New name of the class (using %name() directive) // ctype = Class type ("class","struct", or "union") // -// Output : None -// // Side Effects : // Creates a new class obect internally. // Added type-mappings to the SWIG type-checker module. diff --git a/Source/SWIG1.1/emit.cxx b/Source/SWIG1.1/emit.cxx index 15bb19450..051e253ca 100644 --- a/Source/SWIG1.1/emit.cxx +++ b/Source/SWIG1.1/emit.cxx @@ -14,9 +14,10 @@ *******************************************************************************/ #include "internal.h" + +static char cvsroot[] = "$Header$"; + /******************************************************************************* - * $Header$ - * * File : emit.cxx * * This file contains some useful functions for emitting code that would be @@ -29,12 +30,6 @@ // void emit_banner(FILE *f) // // Emits the SWIG identifying banner in the wrapper file -// -// Inputs : f = FILE handle -// -// Output : None -// -// Side Effects : None // ----------------------------------------------------------------------------- void emit_banner(FILE *f) { @@ -80,10 +75,6 @@ void emit_banner(FILE *f) { // 0 - No "extern" // 1,2 - Normal extern (C/C++) // f = FILE handle -// -// Output : None -// -// Side Effects : None // ----------------------------------------------------------------------------- void emit_extern_var(char *decl, DataType *t, int extern_type, FILE *f) { @@ -146,11 +137,6 @@ void emit_extern_var(char *decl, DataType *t, int extern_type, FILE *f) { // 2 - extern "C" // 3 - Function declaration (with arg names) // f = FILE Handle -// -// Output : None -// -// Side Effects : None -// // ----------------------------------------------------------------------------- void emit_extern_func(char *decl, DataType *t, ParmList *L, int extern_type, FILE *f) { @@ -220,12 +206,6 @@ void emit_extern_func(char *decl, DataType *t, ParmList *L, int extern_type, FIL // char *emit_local(int i) // // Returns the name of local variable for parameter i -// -// Inputs : i = Parameter number -// -// Output : NULL terminated ASCII string -// -// Side Effects : Result is left in a static local variable. // ----------------------------------------------------------------------------- char *emit_local(int i) { @@ -245,18 +225,6 @@ char *emit_local(int i) { // _arg0, _arg1, _arg2, etc... // // Returns the number of parameters associated with a function. -// -// Inputs : -// d = Name of function -// rt = Return type -// l = Parameter list -// f = FILE Handle -// -// Output : Number of function arguments -// -// Side Effects : None -// -// Note : This function is obsolete. Use emit_args below... // ----------------------------------------------------------------------------- int emit_args(DataType *rt, ParmList *l, FILE *f) { @@ -344,17 +312,6 @@ int emit_args(DataType *rt, ParmList *l, FILE *f) { // _arg0, _arg1, _arg2, etc... // // Returns the number of parameters associated with a function. -// -// Inputs : -// d = Name of function -// rt = Return type -// l = Parameter list -// f = Wrapper function object -// -// Output : Number of function arguments -// -// Side Effects : None -// // ----------------------------------------------------------------------------- int emit_args(DataType *rt, ParmList *l, WrapperFunction &f) { @@ -432,18 +389,6 @@ int emit_args(DataType *rt, ParmList *l, WrapperFunction &f) { // int emit_func_call(char *decl, DataType *t, ParmList *l, FILE *f) // // Emits code for a function call. -// -// Inputs : -// decl = name of function -// t = Return datatype -// l = Parameter list -// f = FILE Handle -// -// Output : None -// -// Side Effects : None -// -// Note : This function is obsolete // ----------------------------------------------------------------------------- void emit_func_call(char *decl, DataType *t, ParmList *l, FILE *f) { @@ -531,17 +476,6 @@ void emit_func_call(char *decl, DataType *t, ParmList *l, FILE *f) { // - This function checks to see if any sort of exception mechanism // has been defined. If so, we emit the function call in an exception // handling block. -// -// Inputs : -// decl = name of function -// t = Return datatype -// l = Parameter list -// f = WrapperFunction object -// -// Output : None -// -// Side Effects : None -// // ----------------------------------------------------------------------------- void emit_func_call(char *decl, DataType *t, ParmList *l, WrapperFunction &f) { @@ -643,12 +577,6 @@ void emit_func_call(char *decl, DataType *t, ParmList *l, WrapperFunction &f) { // // Emits the default C-code to handle pointers. This is normally contained // in the SWIG library file 'swigptr.swg' -// -// Inputs : f = FILE handle -// -// Output : None -// -// Side Effects : None // ----------------------------------------------------------------------------- void emit_hex(FILE *f) { @@ -696,16 +624,6 @@ void emit_hex(FILE *f) { // 2. User_Defined // Will assign value from a pointer. // Will return a pointer to current value. -// -// -// Inputs : -// name = Name of variable -// iname = Renamed version of variable -// type = Datatype of the variable -// -// Output : None -// -// Side Effects : None // ----------------------------------------------------------------------------- void emit_set_get(char *name, char *iname, DataType *t) { diff --git a/Source/SWIG1.1/getopt.cxx b/Source/SWIG1.1/getopt.cxx index 725eb61aa..10179a365 100644 --- a/Source/SWIG1.1/getopt.cxx +++ b/Source/SWIG1.1/getopt.cxx @@ -15,6 +15,8 @@ #include "internal.h" +static char cvsroot[] = "$Header$"; + /******************************************************************************* * $Header$ * diff --git a/Source/SWIG1.1/hash.cxx b/Source/SWIG1.1/hash.cxx index 2bca61568..1cc5f47aa 100644 --- a/Source/SWIG1.1/hash.cxx +++ b/Source/SWIG1.1/hash.cxx @@ -15,6 +15,8 @@ #include "internal.h" +static char cvsroot[] = "$Header$"; + /******************************************************************************* * $Header$ * diff --git a/Source/SWIG1.1/html.cxx b/Source/SWIG1.1/html.cxx index 5930852b9..df4d59419 100644 --- a/Source/SWIG1.1/html.cxx +++ b/Source/SWIG1.1/html.cxx @@ -16,6 +16,8 @@ #include "swig.h" #include "html.h" +static char cvsroot[] = "$Header$"; + /******************************************************************************* * $Header$ * diff --git a/Source/SWIG1.1/include.cxx b/Source/SWIG1.1/include.cxx index f0bbe4828..29f664386 100644 --- a/Source/SWIG1.1/include.cxx +++ b/Source/SWIG1.1/include.cxx @@ -18,6 +18,8 @@ #include #include +static char cvsroot[] = "$Header$"; + /******************************************************************************* * $Header$ * diff --git a/Source/SWIG1.1/lang.cxx b/Source/SWIG1.1/lang.cxx index d1d722853..6f3e9a8f5 100644 --- a/Source/SWIG1.1/lang.cxx +++ b/Source/SWIG1.1/lang.cxx @@ -16,6 +16,7 @@ #include "internal.h" #include +static char cvsroot[] = "$Header$"; // ----------------------------------------------------------------------- // $Header$ diff --git a/Source/SWIG1.1/latex.cxx b/Source/SWIG1.1/latex.cxx index 37cb99835..c0f1bdabd 100644 --- a/Source/SWIG1.1/latex.cxx +++ b/Source/SWIG1.1/latex.cxx @@ -25,6 +25,8 @@ #include "swig.h" #include "latex.h" +static char cvsroot[] = "$Header$"; + // ------------------------------------------------------------------- // LATEX::LATEX() // diff --git a/Source/SWIG1.1/main.cxx b/Source/SWIG1.1/main.cxx index 6b22bfcae..371dc4dca 100644 --- a/Source/SWIG1.1/main.cxx +++ b/Source/SWIG1.1/main.cxx @@ -21,6 +21,8 @@ * ***********************************************************************/ +static char cvsroot[] = "$Header$"; + #define WRAP #include "internal.h" diff --git a/Source/SWIG1.1/naming.cxx b/Source/SWIG1.1/naming.cxx index 9fdda94aa..4a726d4e6 100644 --- a/Source/SWIG1.1/naming.cxx +++ b/Source/SWIG1.1/naming.cxx @@ -13,6 +13,8 @@ * can be used and distributed. *******************************************************************************/ +static char cvsroot[] = "$Header$"; + #include "internal.h" #include #include diff --git a/Source/SWIG1.1/newdoc.cxx b/Source/SWIG1.1/newdoc.cxx index bc4347f98..95abd20d6 100644 --- a/Source/SWIG1.1/newdoc.cxx +++ b/Source/SWIG1.1/newdoc.cxx @@ -44,6 +44,8 @@ * *************************************************************************/ +static char cvsroot[] = "$Header$"; + #include "internal.h" #include diff --git a/Source/SWIG1.1/parms.cxx b/Source/SWIG1.1/parms.cxx index a23b831c0..ed157dddd 100644 --- a/Source/SWIG1.1/parms.cxx +++ b/Source/SWIG1.1/parms.cxx @@ -13,6 +13,8 @@ * can be used and distributed. *******************************************************************************/ +static char cvsroot[] = "$Header$"; + /* ------------------------------------------------------------------------ $Header$ diff --git a/Source/SWIG1.1/parser.y b/Source/SWIG1.1/parser.y index de9e9410a..5504a0333 100644 --- a/Source/SWIG1.1/parser.y +++ b/Source/SWIG1.1/parser.y @@ -32,6 +32,8 @@ #define yylex yylex +static char cvsroot[] = "$Header$"; + extern "C" int yylex(); void yyerror (char *s); diff --git a/Source/SWIG1.1/scanner.cxx b/Source/SWIG1.1/scanner.cxx index 1e6f35c41..5085cbecb 100644 --- a/Source/SWIG1.1/scanner.cxx +++ b/Source/SWIG1.1/scanner.cxx @@ -13,6 +13,8 @@ * can be used and distributed. *******************************************************************************/ +static char cvsroot[] = "$Header$"; + /************************************************************************* * $Header$ * scanner.c diff --git a/Source/SWIG1.1/sstring.cxx b/Source/SWIG1.1/sstring.cxx index 15046255c..76c2c2bb4 100644 --- a/Source/SWIG1.1/sstring.cxx +++ b/Source/SWIG1.1/sstring.cxx @@ -13,6 +13,8 @@ * can be used and distributed. *******************************************************************************/ +static char cvsroot[] = "$Header$"; + #include "internal.h" #include diff --git a/Source/SWIG1.1/symbol.cxx b/Source/SWIG1.1/symbol.cxx index 147e9bad9..393817b1c 100644 --- a/Source/SWIG1.1/symbol.cxx +++ b/Source/SWIG1.1/symbol.cxx @@ -46,17 +46,7 @@ static Hash SymHash; // SWIG Symbol table // ----------------------------------------------------------------------------- // int add_symbol(char *name, DataType *type, char *value) // -// Adds a symbol to the symbol table. Returns -1 if symbol is already in the -// table. -// -// Inputs : -// name = Symbol name -// type = Datatype (for constants). Optional. -// value = Value string. Optional. -// -// Output : 0 on success, -1 if symbol already exists. -// -// Side Effects : None +// Adds a symbol to the symbol table. Returns -1 if symbol is already in the table. // ----------------------------------------------------------------------------- int add_symbol(char *name, DataType *type, char *value) { @@ -86,12 +76,6 @@ int add_symbol(char *name, DataType *type, char *value) { // int lookup_symbol(char *name) // // Checks to see if a symbol is in the symbol table. -// -// Inputs : name = Symbol name -// -// Output : 0 if not found, 1 if found. -// -// Side Effects : None // ----------------------------------------------------------------------------- int lookup_symbol(char *name) { @@ -106,12 +90,6 @@ int lookup_symbol(char *name) { // DataType *lookup_symtype(char *name) // // Returns the datatype of a symbol or NULL if not found. -// -// Inputs : name = Symbol name -// -// Output : Datatype of symbol, NULL if not found. -// -// Side Effects : None // ----------------------------------------------------------------------------- DataType *lookup_symtype(char *name) { @@ -127,12 +105,6 @@ DataType *lookup_symtype(char *name) { // char *lookup_symvalue(char *name) // // Returns the value associate with a symbol. -// -// Inputs : name = Symbol name -// -// Output : Symbol value (or NULL if not present). -// -// Side Effects : None // ----------------------------------------------------------------------------- char *lookup_symvalue(char *name) { @@ -148,15 +120,6 @@ char *lookup_symvalue(char *name) { // int update_symbol(char *name, DataType *type, char *value) // // Updates a symbol (or create it) in the hash table. -// -// Inputs : -// name = Name of symbol -// type = Datatype of symbol (optional) -// value = Symbol value (optional) -// -// Output : 0 -// -// Side Effects : None // ----------------------------------------------------------------------------- int update_symbol(char *name, DataType *type, char *value) { @@ -185,12 +148,6 @@ int update_symbol(char *name, DataType *type, char *value) { // void remove_symbol(char *name) // // Removes a symbol from the symbol table. -// -// Inputs : name = Symbol name. -// -// Output : None -// -// Side Effects : None // ----------------------------------------------------------------------------- void remove_symbol(char *name) { diff --git a/Source/SWIG1.1/typemap.cxx b/Source/SWIG1.1/typemap.cxx index bd6db74dd..202b010c7 100644 --- a/Source/SWIG1.1/typemap.cxx +++ b/Source/SWIG1.1/typemap.cxx @@ -13,6 +13,8 @@ * can be used and distributed. *******************************************************************************/ +static char cvsroot[] = "$Header$"; + #include "internal.h" #include diff --git a/Source/SWIG1.1/types.cxx b/Source/SWIG1.1/types.cxx index e517393c4..3b18af8dc 100644 --- a/Source/SWIG1.1/types.cxx +++ b/Source/SWIG1.1/types.cxx @@ -13,6 +13,8 @@ * can be used and distributed. *******************************************************************************/ +static char cvsroot[] = "$Header$"; + /*********************************************************************** * $Header$ * diff --git a/Source/SWIG1.1/wrapfunc.cxx b/Source/SWIG1.1/wrapfunc.cxx index fbe7a3466..0d9ccbe7e 100644 --- a/Source/SWIG1.1/wrapfunc.cxx +++ b/Source/SWIG1.1/wrapfunc.cxx @@ -13,6 +13,8 @@ * can be used and distributed. *******************************************************************************/ +static char cvsroot[] = "$Header$"; + // ------------------------------------------------------------------ // wrapfunc.cxx // diff --git a/Source/Swig/getopt.c b/Source/Swig/getopt.c index d9ac2c4d1..c684569fe 100644 --- a/Source/Swig/getopt.c +++ b/Source/Swig/getopt.c @@ -13,6 +13,8 @@ * can be used and distributed. *******************************************************************************/ +static char cvsroot[] = "$Header$"; + #include "swigcore.h" /******************************************************************************* diff --git a/Source/Swig/include.c b/Source/Swig/include.c index cc1e46be4..7d011132b 100644 --- a/Source/Swig/include.c +++ b/Source/Swig/include.c @@ -13,6 +13,8 @@ * can be used and distributed. ****************************************************************************/ +static char cvsroot[] = "$Header$"; + #include "swigcore.h" /******************************************************************************* diff --git a/Source/Swig/misc.c b/Source/Swig/misc.c index cba44e62c..548084902 100644 --- a/Source/Swig/misc.c +++ b/Source/Swig/misc.c @@ -13,6 +13,8 @@ * can be used and distributed. ****************************************************************************/ +static char cvsroot[] = "$Header$"; + #include "swigcore.h" /* ----------------------------------------------------------------------------- diff --git a/Source/Swig/scanner.c b/Source/Swig/scanner.c index d090c2640..ee3f24ba8 100644 --- a/Source/Swig/scanner.c +++ b/Source/Swig/scanner.c @@ -13,6 +13,7 @@ * can be used and distributed. ****************************************************************************/ +static char cvsroot[] = "$Header$"; #include "swigcore.h"