|
a/src/utils/smallut.cpp |
|
b/src/utils/smallut.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: smallut.cpp,v 1.16 2006-04-11 06:49:45 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: smallut.cpp,v 1.17 2006-10-11 14:16:26 dockes Exp $ (C) 2004 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
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
|
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
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
240 |
}
|
240 |
}
|
241 |
break;
|
241 |
break;
|
242 |
|
242 |
|
243 |
case ' ':
|
243 |
case ' ':
|
244 |
case '\t':
|
244 |
case '\t':
|
|
|
245 |
case '\n':
|
245 |
switch(state) {
|
246 |
switch(state) {
|
246 |
case SPACE:
|
247 |
case SPACE:
|
247 |
continue;
|
248 |
continue;
|
248 |
case TOKEN:
|
249 |
case TOKEN:
|
249 |
tokens.push_back(current);
|
250 |
tokens.push_back(current);
|