From 5b5db5557de534cc41a11f4e722443760790d201 Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Mon, 27 Dec 2010 15:27:52 -0600 Subject: [PATCH] change order of constructor args of DSNLEXER::DSNLEXER() --- pcbnew/specctra.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pcbnew/specctra.cpp b/pcbnew/specctra.cpp index f041e32677..cae5c4854a 100644 --- a/pcbnew/specctra.cpp +++ b/pcbnew/specctra.cpp @@ -687,7 +687,7 @@ void SPECCTRA_DB::LoadPCB( const wxString& filename ) throw( IO_ERROR ) 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 ) expecting( T_LEFT ); @@ -714,9 +714,8 @@ void SPECCTRA_DB::LoadSESSION( const wxString& filename ) throw( IO_ERROR ) } 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 ) expecting( T_LEFT );