Patch level : 12.0 298

Files correlati     :  
Commento            :

Riaggiunto il modulo GV Gestione Versamenti F24

git-svn-id: svn://10.65.10.50/branches/R_10_00@23364 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
bonazzi 2016-10-04 22:12:12 +00:00
parent c4afcee280
commit 0f9f6f3fa6
3 changed files with 10 additions and 3 deletions

View File

@ -1264,7 +1264,7 @@ void TMask::read_page(
break; break;
} }
} }
scanner.seekg(pos); // Ripristina posizione dello scanner scanner.seek(pos); // Ripristina posizione dello scanner
} }
WINDOW w = NULL_WIN; WINDOW w = NULL_WIN;

View File

@ -157,8 +157,7 @@ bool TScanner::paragraph(const char* name)
p << ']'; p << ']';
} }
clear();// resetta eof seek(0L);
seekg(0L);
while (line().not_empty()) while (line().not_empty())
{ {
if (token() == p) if (token() == p)
@ -167,3 +166,9 @@ bool TScanner::paragraph(const char* name)
return false; return false;
} }
void TScanner::seek(pos_type pos)
{
clear();// resetta eof
seekg(pos);
}

View File

@ -70,6 +70,8 @@ public:
// @cmember Ritorna il numero di linea corrente // @cmember Ritorna il numero di linea corrente
size_t linenum() size_t linenum()
{ return _line; } { return _line; }
// @cmember riposiziona lo scanner
void seek(pos_type pos);
}; };