KiCad PCB EDA Suite
Loading...
Searching...
No Matches
wrlproc.cpp File Reference
#include <iostream>
#include <sstream>
#include <wx/string.h>
#include <wx/log.h>
#include "wrlproc.h"
#include <wx_filename.h>

Go to the source code of this file.

Macros

#define GETLINE
 

Macro Definition Documentation

◆ GETLINE

#define GETLINE
Value:
do \
{ \
try \
{ \
char* cp = m_file->ReadLine(); \
\
if( nullptr == cp ) \
{ \
m_eof = true; \
m_buf.clear(); \
} \
else \
{ \
m_buf = cp; \
m_bufpos = 0; \
} \
\
m_fileline = m_file->LineNumber(); \
} \
catch( ... ) \
{ \
m_error = " * [INFO] input line too long"; \
m_eof = true; \
m_buf.clear(); \
} \
} while( 0 )

Definition at line 32 of file wrlproc.cpp.