1. 21 Sep, 2018 2 commits
  2. 10 Sep, 2018 1 commit
    • Barnaby Keene's avatar
      Updated readme.md file and added forum thread bbcode (#334) · ab446ee2
      Barnaby Keene authored
      * updated readme to make it easier to read for beginners
      added a bbcode rendering of the readme for a forum thread
      
      * added "Community Compiler" to heading
      
      * made some changes as per Yashas request
      
      * moved long URLs to references area
      
      * fixed minor grammar and word usage
      fixed appveyor links
      
      * bbcode
      
      * added compatibility note
      
      * Delete readme.bbcode
      
      * Fix typo in readme
      
      * some final tweaks
      removed build from source instructions
      fixed some minor grammar fixes
      
      * moved -Z note to the general how to use section and changed the wording slightly
      
      * Change -Z+ to just -Z
      ab446ee2
  3. 06 Aug, 2018 1 commit
  4. 05 Aug, 2018 1 commit
    • Zeex's avatar
      Squash-and-Merge 3.10.8 (#352) · 018f1f65
      Zeex authored
      * debug info for index tagmm warnings
      
      This commit makes the compiler display debug information for "index" tag mismatch warnings.
      
      * Fix #317
      
      * Partially revert #c325ca3e to strip spaces in strings again.
      
      * Redetect error 49, and make `deprecated` auto-insert spaces.
      
      * Allow line continuations in single-line comments only when they are followed by another comment:
      
      It is quite annoying to get an error for commenting out a define using:
      
      //
      // #define LONG_MACRO\
      //             did span \
      //             multiple lines
      //
      
      * v3.10.8
      
      * Remove multi-line comment test.
      
      * Fix test 217 again...
      
      * Yet again fixing the tests...
      
      * Cast error on mac.
      
      * Release 3.10.8
      
      * Sorry for messing up the commit history...  I'm trying to figure out releases.
      018f1f65
  5. 30 Jun, 2018 6 commits
  6. 16 Jun, 2018 1 commit
  7. 02 Jun, 2018 2 commits
  8. 10 May, 2018 3 commits
    • Yashas's avatar
      mark symbols passed as non-const args modified · 293c9a3b
      Yashas authored
      This commit makes the compiler mark array symbols which are passed as non-const argument modified.
      293c9a3b
    • Yashas's avatar
      add warning for literal passed to non-const parameter · c363c5b1
      Yashas authored
      Adds a new warning to warn users when they pass an array/string literal to a non-const qualified parameter.
      
      ```
      f1(arr[]) {
       	new a = arr[0];
       	#pragma unused a
      }
      
      f2(arr[5]) {
          new a = arr[0];
          #pragma unused a
      }
      f3(const arr[]) {
          new a = arr[0];
          #pragma unused a
      }
      f4(const arr[5]) {
          new a = arr[0];
          #pragma unused a
      }
      
      main () {
      	f1("test");
      	f2("test");
      	f3("test");
      	f4("test");
      
      	new arr[5];
      	f1(arr);
      	f2(arr);
      	f3(arr);
      	f4(arr);
      
      	f1(arr[0]);
      	//f2(arr[0]); - array size must match
      	f3(arr[0]);
      	//f4(arr[0]); - array size must match
      }
      ```
      
      ```
      test.pwn(1) : warning 214: possibly a "const" array argument was intended: "arr"
      test.pwn(6) : warning 214: possibly a "const" array argument was intended: "arr"
      test.pwn(20) : warning 239: literal array/string passed to a non-const parameter
      test.pwn(21) : warning 239: literal array/string passed to a non-const parameter
      ```
      c363c5b1
    • Yashas's avatar
      enable warning 214 · 29669858
      Yashas authored
      warning 214: possibly a "const" array argument was intended:
      29669858
  9. 08 May, 2018 1 commit
  10. 27 Apr, 2018 1 commit
  11. 24 Apr, 2018 4 commits
  12. 22 Apr, 2018 11 commits
  13. 20 Apr, 2018 1 commit
  14. 21 Feb, 2018 1 commit
  15. 12 Feb, 2018 4 commits