1. 14 Jul, 2015 3 commits
    • Remove uncessary line break. · 6aa6d9d3
      Lei Zhang authored
      We output empty lines before processing non-whitespace tokens,
      not after done processing them.
    • Fix empty line handling in line directive callback. · 46ea5396
      Lei Zhang authored
      The current line number for the #line directive should be passed
      in as parameter to the line directive callback. Without it, we
      don't know how many empty lines we should output.
    • Fix line number handling in line directive callback. · 5cbc990a
      Lei Zhang authored
      The line argument passed into the lineCallback function is the
      literal value of the first argument of the #line directive.
      lastLine in DoPreprocessing() should be updated taking into
      consideration the different definitions for #line between specs.
      
      Add a test to reveal the bug.
  2. 13 Jul, 2015 3 commits
  3. 12 Jul, 2015 1 commit
  4. 11 Jul, 2015 4 commits
  5. 08 Jul, 2015 1 commit
  6. 07 Jul, 2015 3 commits
  7. 06 Jul, 2015 1 commit
  8. 04 Jul, 2015 1 commit
  9. 03 Jul, 2015 3 commits
  10. 02 Jul, 2015 1 commit
  11. 30 Jun, 2015 1 commit
    • Fix incompatibility with <GL/glext.h> · 93deac52
      Adam Jackson authored
      New extensions in glext.h follow the pattern:
      
          #ifndef GL_ARB_texture_rectangle
          #define GL_ARB_texture_rectangle 1
          #define GL_TEXTURE_RECTANGLE_ARB          0x84F5
          #define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
          #define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
          #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
          #endif /* GL_ARB_texture_rectangle */
      
      Versions.h tries to declare:
      
          const char* const GL_ARB_texture_rectangle = "GL_ARB_texture_rectangle";
      
      Which means, if you've included glext.h before Versions.h, that the
      compiler will see "const char* const 1 = ...", and rightly refuse to
      continue.
      
      The ham-fisted approach taken here is to rename the variables in
      Versions.h with a leading underscore.  This does sort of undermine the
      comment about "better to have the compiler do spelling checks", but.
      Signed-off-by: 's avatarAdam Jackson <ajax@redhat.com>
  12. 29 Jun, 2015 3 commits
  13. 28 Jun, 2015 1 commit
  14. 26 Jun, 2015 7 commits
  15. 24 Jun, 2015 1 commit
  16. 23 Jun, 2015 1 commit
  17. 19 Jun, 2015 3 commits
  18. 17 Jun, 2015 2 commits