summaryrefslogtreecommitdiff
path: root/src/tokenstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tokenstring.h')
-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