change order of constructor args of DSNLEXER::DSNLEXER()
This commit is contained in:
parent
bdbd28a9f4
commit
5b5db5557d
|
@ -687,7 +687,7 @@ void SPECCTRA_DB::LoadPCB( const wxString& filename ) throw( IO_ERROR )
|
||||||
delete lexer;
|
delete lexer;
|
||||||
lexer = 0;
|
lexer = 0;
|
||||||
|
|
||||||
lexer = new DSNLEXER( fp, filename, SPECCTRA_DB::keywords, SPECCTRA_DB::keywordCount );
|
lexer = new DSNLEXER( SPECCTRA_DB::keywords, SPECCTRA_DB::keywordCount, fp, filename );
|
||||||
|
|
||||||
if( nextTok() != T_LEFT )
|
if( nextTok() != T_LEFT )
|
||||||
expecting( T_LEFT );
|
expecting( T_LEFT );
|
||||||
|
@ -714,9 +714,8 @@ void SPECCTRA_DB::LoadSESSION( const wxString& filename ) throw( IO_ERROR )
|
||||||
}
|
}
|
||||||
|
|
||||||
delete lexer;
|
delete lexer;
|
||||||
lexer = 0;
|
|
||||||
|
|
||||||
lexer = new DSNLEXER( fp, filename, SPECCTRA_DB::keywords, SPECCTRA_DB::keywordCount );
|
lexer = new DSNLEXER( SPECCTRA_DB::keywords, SPECCTRA_DB::keywordCount, fp, filename );
|
||||||
|
|
||||||
if( nextTok() != T_LEFT )
|
if( nextTok() != T_LEFT )
|
||||||
expecting( T_LEFT );
|
expecting( T_LEFT );
|
||||||
|
|
Loading…
Reference in New Issue