fix syntax

This commit is contained in:
espie 2010-05-22 11:54:14 +00:00
parent 7d621fc670
commit 7b42636397
5 changed files with 46 additions and 13 deletions

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-doctype_medline_cxx,v 1.1 2002/02/20 21:08:46 pvalchev Exp $
--- doctype/medline.cxx.orig Wed Feb 20 14:02:52 2002
+++ doctype/medline.cxx Wed Feb 20 14:02:40 2002
@@ -182,7 +182,7 @@ void MEDLINE::ParseRecords (const RECORD
$OpenBSD: patch-doctype_medline_cxx,v 1.2 2010/05/22 11:54:14 espie Exp $
--- doctype/medline.cxx.orig Wed Dec 4 22:02:08 1996
+++ doctype/medline.cxx Sat May 22 12:55:04 2010
@@ -182,7 +182,7 @@ void MEDLINE::ParseRecords (const RECORD& FileRecord)
// Search for Medline Seperator
enum { LOOK, HUNT, FOUND, START } State = HUNT;

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-doctype_sgmlnorm_cxx,v 1.1 2000/04/21 23:42:11 espie Exp $
--- doctype/sgmlnorm.cxx.orig Sat Apr 22 01:32:03 2000
+++ doctype/sgmlnorm.cxx Sat Apr 22 01:32:09 2000
@@ -528,7 +528,7 @@ PCHR *SGMLNORM::parse_tags (PCHR b, GPTY
$OpenBSD: patch-doctype_sgmlnorm_cxx,v 1.2 2010/05/22 11:54:14 espie Exp $
--- doctype/sgmlnorm.cxx.orig Wed Dec 4 22:02:08 1996
+++ doctype/sgmlnorm.cxx Sat May 22 12:55:04 2010
@@ -528,7 +528,7 @@ PCHR *SGMLNORM::parse_tags (PCHR b, GPTYPE len) const
#ifndef TAG_GROW_SIZE
#define TAG_GROW_SIZE 128
#endif

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_opstack_hxx,v 1.1 2010/05/22 11:54:14 espie Exp $
--- src/opstack.hxx.orig Sat May 22 13:46:42 2010
+++ src/opstack.hxx Sat May 22 13:46:47 2010
@@ -55,7 +55,7 @@ class OPSTACK { (public)
OPSTACK& operator<<(const OPOBJ& Op);
POPOBJ operator>>(POPOBJ& OpPtr);
PIRSET operator>>(PIRSET& OpPtr);
- void OPSTACK::Reverse();
+ void Reverse();
~OPSTACK();
private:
void Push(const OPOBJ& Op);

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_string_cxx,v 1.1 2002/10/06 22:31:10 naddy Exp $
--- src/string.cxx.orig Sat Oct 5 22:16:17 2002
+++ src/string.cxx Sat Oct 5 22:16:33 2002
@@ -453,7 +453,7 @@ INT STRING::CaseEquals(const CHR* CStrin
$OpenBSD: patch-src_string_cxx,v 1.2 2010/05/22 11:54:14 espie Exp $
--- src/string.cxx.orig Wed Dec 4 22:02:10 1996
+++ src/string.cxx Sat May 22 12:55:04 2010
@@ -453,7 +453,7 @@ INT STRING::CaseEquals(const CHR* CString) const {
}
void STRING::Print() const {
@ -10,7 +10,7 @@ $OpenBSD: patch-src_string_cxx,v 1.1 2002/10/06 22:31:10 naddy Exp $
}
void STRING::Print(PFILE FilePointer) const {
@@ -464,7 +464,7 @@ void STRING::Print(PFILE FilePointer) co
@@ -464,7 +464,7 @@ void STRING::Print(PFILE FilePointer) const {
// can this be const STRING& ?
ostream& operator<<(ostream& os, const STRING& str) {

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-src_string_hxx,v 1.1 2010/05/22 11:54:14 espie Exp $
--- src/string.hxx.orig Sat May 22 13:45:31 2010
+++ src/string.hxx Sat May 22 13:45:53 2010
@@ -67,7 +67,7 @@ class STRING { (public)
STRING& operator=(const INT IntValue);
STRING& operator=(const DOUBLE DoubleValue);
STRING& operator=(const STRING& OtherString);
- void STRING::Set(const UCHR* NewBuffer, const STRINGINDEX BufferLength);
+ void Set(const UCHR* NewBuffer, const STRINGINDEX BufferLength);
STRING& operator+=(const UCHR Character);
STRING& operator+=(const CHR* CString);
STRING& operator+=(const STRING& OtherString);
@@ -134,7 +134,7 @@ class STRING { (public)
void StrBuffAlloc(INT BufferSizeRequest);
~STRING();
private:
- void STRING::Copy(const UCHR *CString, STRINGINDEX CLength);
+ void Copy(const UCHR *CString, STRINGINDEX CLength);
STRINGINDEX Length;
UCHR* Buffer;
static INT4 InitialBufferLength;