title: SWIG error: Syntax Error in input(1)
body: <p>I'm getting the  Syntax Error in input(1) error for this line of code, in C when I do:</p>
  
  <p>swig -python myfile.i in console.</p>
  
  <p>It concerns the following code, specifically the last line of these typedefs.</p>
  
  <pre><code>typedef unsigned short WORD;    
  typedef unsigned int DWORD;
  typedef unsigned long long QWORD;
  typedef unsigned char BYTE;     
  typedef unsigned int bool; //&lt;= THIS LINE OF CODE TRIGGERS THE ERROR.
  </code></pre>
  
  <p>As far as I know, bool is not defined in C so I would think swig would let this go with no issue. I compiled as c in VS 2010 and it was just fine.</p>
  
  <p>Mark</p>