1. 24 Dec, 2018 1 commit
    • Sergio Costas's avatar
      Doesn't return an error when returning NULL as borrowed · 3d3712c0
      Sergio Costas authored
      Until now, if the return value is marked as __crust_borrow__, crust
      shown an error saying that a non-borrowed value is being returned.
      
      This patch fixes this, because it is obvious that it must be possible
      to return NULL in these cases.
      3d3712c0
  2. 03 Oct, 2018 1 commit
    • Sergio Costas's avatar
      Fix switch/case without default statement · 074adb47
      Sergio Costas authored
      When a switch/case lacks a default statement, crust fails to follow the
      case when the variable doesn't fit any of the defined cases (see unitary
      test 252).
      
      This patch fixes this.
      074adb47
  3. 01 Oct, 2018 1 commit
  4. 26 Sep, 2018 1 commit
    • Sergio Costas's avatar
      Don't allow to have functions with empty parameters · e2da88ed
      Sergio Costas authored
      C doesn't check that calls to functions without parameters honors the
      signature. Thus, it is possible to call a function defined as
      
      void function() {...
      
      with several parameters, or assign it to a pointer to function with any
      type and number of parameters, and the compiler won't complain. To avoid
      this, it is mandatory to put "void" inside the parameter list; so the
      previous function must be written as:
      
      void function(void) {...
      
      This allows the compiler to detect illegal usages and assignments.
      e2da88ed
  5. 15 Aug, 2018 2 commits
  6. 04 Aug, 2018 1 commit
  7. 27 Jul, 2018 2 commits
  8. 26 Jun, 2018 6 commits
  9. 23 Jun, 2018 2 commits
  10. 05 Jun, 2018 2 commits
  11. 04 Jun, 2018 1 commit
  12. 03 Jun, 2018 2 commits
  13. 02 Jun, 2018 2 commits
  14. 28 May, 2018 2 commits
  15. 23 May, 2018 1 commit
  16. 01 Jan, 2018 4 commits
  17. 31 Dec, 2017 1 commit
  18. 03 Nov, 2017 1 commit
  19. 01 Nov, 2017 2 commits
  20. 13 Oct, 2017 1 commit
  21. 15 Sep, 2017 3 commits
  22. 14 Sep, 2017 1 commit