diff options
-rw-r--r-- | MSVC/regex/regex.h | 8 | ||||
-rw-r--r-- | include/BRegex.h | 21 | ||||
-rw-r--r-- | include/ConfigFile.h | 21 | ||||
-rw-r--r-- | lib/ConfigFile.cc | 23 | ||||
-rw-r--r-- | lib/Regex.cc | 23 |
5 files changed, 90 insertions, 6 deletions
diff --git a/MSVC/regex/regex.h b/MSVC/regex/regex.h index 92e3344..03940f9 100644 --- a/MSVC/regex/regex.h +++ b/MSVC/regex/regex.h @@ -389,15 +389,15 @@ typedef struct unfortunately clutters up the declarations a bit, but I think it's worth it. */ -#if __STDC__ +//#if __STDC__ #define _RE_ARGS(args) args -#else /* not __STDC__ */ +//#else /* not __STDC__ */ -#define _RE_ARGS(args) () +//#define _RE_ARGS(args) () -#endif /* not __STDC__ */ +//#endif /* not __STDC__ */ #ifdef __cplusplus extern "C" { diff --git a/include/BRegex.h b/include/BRegex.h index b076342..f32405a 100644 --- a/include/BRegex.h +++ b/include/BRegex.h @@ -1,3 +1,24 @@ +/* + * Baltisot + * Copyright (C) 1999-2003 Nicolas "Pixel" Noble + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* $Id: BRegex.h,v 1.2 2004-12-18 13:15:25 pixel Exp $ */ + #ifndef __REGEX_H__ #define __REGEX_H__ diff --git a/include/ConfigFile.h b/include/ConfigFile.h index 11434bd..51eda66 100644 --- a/include/ConfigFile.h +++ b/include/ConfigFile.h @@ -1,3 +1,24 @@ +/* + * Baltisot + * Copyright (C) 1999-2003 Nicolas "Pixel" Noble + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* $Id: ConfigFile.h,v 1.5 2004-12-18 13:15:25 pixel Exp $ */ + #ifndef __CONFIGFILE_H__ #define __CONFIGFILE_H__ diff --git a/lib/ConfigFile.cc b/lib/ConfigFile.cc index 85cbb00..42846c9 100644 --- a/lib/ConfigFile.cc +++ b/lib/ConfigFile.cc @@ -1,5 +1,26 @@ +/* + * Baltisot + * Copyright (C) 1999-2003 Nicolas "Pixel" Noble + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* $Id: ConfigFile.cc,v 1.4 2004-12-18 13:15:26 pixel Exp $ */ + #include "ConfigFile.h" -#include "Regex.h" +#include "BRegex.h" ConfigFile::ConfigFile(Handle * f) throw (GeneralException) { Regex r("^\\[.*\\]$"), comment("^#.*$"), empty("^ *$"), line("^.*=.*$"); diff --git a/lib/Regex.cc b/lib/Regex.cc index 258d378..cf8be44 100644 --- a/lib/Regex.cc +++ b/lib/Regex.cc @@ -1,7 +1,28 @@ +/* + * Baltisot + * Copyright (C) 1999-2003 Nicolas "Pixel" Noble + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* $Id: Regex.cc,v 1.12 2004-12-18 13:15:26 pixel Exp $ */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include "Regex.h" +#include "BRegex.h" #include "gettext.h" char t[1024]; |