aboutsummaryrefslogtreecommitdiff
path: root/src/tokenstring.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-05-26 04:03:24 +0000
committerMike Buland <eichlan@xagasoft.com>2006-05-26 04:03:24 +0000
commitbd5bb1ca60a6a97b110cbf221b3625e6e6200141 (patch)
tree063b1576b57aba698159f50a04461ddfb7c4dfb6 /src/tokenstring.h
parentbc6f456ef27bdf25bf7a7f677217b9b7204b4241 (diff)
downloadlibbu++-bd5bb1ca60a6a97b110cbf221b3625e6e6200141.tar.gz
libbu++-bd5bb1ca60a6a97b110cbf221b3625e6e6200141.tar.bz2
libbu++-bd5bb1ca60a6a97b110cbf221b3625e6e6200141.tar.xz
libbu++-bd5bb1ca60a6a97b110cbf221b3625e6e6200141.zip
Loads of updates to several systems, see each for what really changed, the
biggest are the updates to the exception framework, and to the pproc system, which is almost a competitor to popt already...
Diffstat (limited to '')
-rw-r--r--src/tokenstring.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/src/tokenstring.h b/src/tokenstring.h
index 25f710b..37ce6f5 100644
--- a/src/tokenstring.h
+++ b/src/tokenstring.h
@@ -1,12 +1,3 @@
1/***************************************************************************
2 * Copyright (C) 2003 by Mike Buland *
3 * eichlan@Xagafinelle *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 ***************************************************************************/
10#ifndef TOKENSTRING_H 1#ifndef TOKENSTRING_H
11#define TOKENSTRING_H 2#define TOKENSTRING_H
12 3
@@ -107,13 +98,16 @@ public:
107 void insertToken( int nStart, int nEnd, char *lpOldOrig, const char *lpNewToken, int nIndex ); 98 void insertToken( int nStart, int nEnd, char *lpOldOrig, const char *lpNewToken, int nIndex );
108 99
109private: 100private:
110 char *lpTokenString; 101 char *lpTokenString; /**< The original text that this string came from */
111 LinkedList lToken; 102 LinkedList lToken; /**< The list of tokens. */
112 103
104 /**
105 * A single token within the token string.
106 */
113 typedef struct Token 107 typedef struct Token
114 { 108 {
115 char *lpOrig; // This is just a pointer back to lpTokenString 109 char *lpOrig; /**< This is just a pointer back to lpTokenString */
116 char *lpToken; // This is really a whole token 110 char *lpToken; /**< This is really a whole token */
117 } Token; 111 } Token;
118}; 112};
119 113