Pcbnew: fix Bug #1395594 (pcbplotparams parser sensitive to formatting)

Looked like a minor issue, but was due to a more serious bug, when using 2 different DSN_LEXERS which were not synchronized.
The fix is not perfect, but unfortunately, the parser used to read the PCB_PLOT_PARAMS in .kicad_pcb files is also used in legacy board file reader.
Therefore it is better than write 2 parser functions, one for legacy files, the other for the .kicad_pcb files, which make the same thing.
This commit is contained in:
jean-pierre charras
2014-12-04 20:15:26 +01:00
parent 0ac378fad7
commit 0e996cac9e
4 changed files with 45 additions and 5 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <wx/wx.h>
//#include <wx/wx.h>
#include <pcb_plot_params_parser.h>
#include <pcb_plot_params.h>
#include <layers_id_colors_and_visibility.h>