|
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.26 2007-02-08 17:05:12 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: smallut.cpp,v 1.27 2007-10-19 15:25:19 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
|
|
... |
|
... |
213 |
break;
|
213 |
break;
|
214 |
|
214 |
|
215 |
case ' ':
|
215 |
case ' ':
|
216 |
case '\t':
|
216 |
case '\t':
|
217 |
case '\n':
|
217 |
case '\n':
|
|
|
218 |
case '\r':
|
218 |
switch(state) {
|
219 |
switch(state) {
|
219 |
case SPACE:
|
220 |
case SPACE:
|
220 |
continue;
|
221 |
continue;
|
221 |
case TOKEN:
|
222 |
case TOKEN:
|
222 |
tokens.push_back(current);
|
223 |
tokens.push_back(current);
|