title: Error using swig: Syntax error in input(1)
body: <p>I am rather new with swig and I am getting an error that I cannot find. The error is:</p>
  
  <p>/home/investigador/OMICRON-GNURadio/gr-freqAdaptiveOFDM/swig/../include/freqAdaptiveOFDM/mapper.h:39: Error: Syntax error in input(1).</p>
  
  <p>And the file where the error is is this:</p>
  
  <pre><code>#ifndef INCLUDED_FREQADAPTIVEOFDM_SIGNAL_FIELD_H
  #define INCLUDED_FREQADAPTIVEOFDM_SIGNAL_FIELD_H
  
  #include &lt;freqAdaptiveOFDM/api.h&gt;
  #include &lt;gnuradio/digital/packet_header_default.h&gt;
  
  namespace gr {
  namespace freqAdaptiveOFDM {
  
  class FREQADAPTIVEOFDM_API signal_field : virtual public digital::packet_header_default
  {
  public:
      typedef boost::shared_ptr&lt;signal_field&gt; sptr;
      static sptr make();
  
  protected:
      signal_field();
  };
  
  } // namespace freqAdaptiveOFDM
  } // namespace gr
  
  #endif /* INCLUDED_FREQADAPTIVEOFDM_SIGNAL_FIELD_H */
  </code></pre>
  
  <p>The line where the error is found is the class FREQADAPTIVEOFDM_API line.
  Thanks in advance for the help!</p>
  
  <p>By the way, my swig file is the following:</p>
  
  <pre><code>#define freqAdaptiveOFDM_API
  #define DIGITAL_API
  
  %include "gnuradio.i"
  %include "freqAdaptiveOFDM_swig_doc.i"
  
  %{
  #include "freqAdaptiveOFDM/mapper.h";
  #include "freqAdaptiveOFDM/signal_field.h"
  %}
  
  %include "gnuradio/digital/packet_header_default.h"
  
  %include "freqAdaptiveOFDM/mapper.h"
  %include "freqAdaptiveOFDM/signal_field.h"
  
  GR_SWIG_BLOCK_MAGIC2(freqAdaptiveOFDM, mapper);
  
  %template(signal_field_sptr) boost::shared_ptr&lt;gr::freqAdaptiveOFDM::signal_field&gt;;
  
  %pythoncode %{
  signal_field_sptr.__repr__ = lambda self: "&lt;signal_field&gt;"
  signal_field = signal_field.make;
  %}
  </code></pre>