vrtc / pjass (public) (License: BSD) (since 2023-08-03) (hash sha1)
pjass is a free Jass scripting language parser. This repository is a fork of lep/pjass. The goal is to add Debian packaging. As of the time of this writing, it works for current stable, that is Debian 12 (bookworm).
List of commits:
Subject Hash Author Date (UTC)
Optimized //+rb marker check. cb4a086136acb1a8d7b0bc8397237bbfbdc56191 lep 2015-10-04 18:11:13
Now allows //+rb everywhere. 4f366b09d651baf0846ed2097db94d35fe42b5a0 lep 2015-10-04 17:43:38
Added test target to the Makefile 0f2763df549a97364087c346f408e52ca9456c8d lep 2015-10-04 15:43:49
Allowes //+rb right before a function to ignore any returnbug errors in that function. Not throughoutly tested. 230863ba145b74be6dc8062787c8c9c1806d1c7a lep 2015-10-04 14:06:30
Directive to suppress warnings. f1538a555e3009cfd8cbd900347d523abdd11953 lep 2015-10-04 12:17:08
More Makefile enhancements. 94c97f7c5f943f09ee575e96e388e9e2c947385c lep 2015-10-04 11:34:36
Makefile enhancements 8bc7132422db4a3b90a82da4a63f7cfa9fdbe2f5 lep 2015-06-09 09:30:42
Changed canconvertreturn behaviour. a1ba7f1d59cc40f56d0b3e4855c31b3d66019d9d lep 2015-04-15 16:35:52
Rewrote string handling to better handle newlines. 434a8fe566783969cb69eb73b2792cd74dac71d3 lep 2015-02-12 15:13:54
Rewrote rawcode handling for somewhat better error messages. 1e687d921b09149e244d16d7abca398c0639ad6d lep 2015-02-08 20:08:22
Undefined variables are not suggested for other undefined variables. c5561c56dde18bbcf1d05bdec7b50804757c5ef8 lep 2015-02-08 15:39:10
Also changed gNone to gAny in else and elesif cases. 485e75aaa14eb8ae10058305f7b75c1abd19eb82 lep 2015-02-06 15:20:15
Changed statement default return type from gNone to gAny. 7a054ad7b62d77ae4a17ac97d913a19675dad111 lep 2015-02-06 15:12:31
Propagate returncheck through statements. b8977b07e11f8fd335851e3a2d69cb473492f85b lep 2015-02-06 15:07:36
Small changes. Removed some unused symbols. 83c8b2b0e6811380bddf6e92e3b2f843370d5e05 lep 2015-02-05 12:43:24
Only put locals into the initialized table. db20d22434506716774fa4e8577f98073f17d6c2 lep 2015-02-04 11:57:00
Changed min function to min makro. b5b6c824896935232743633ae57d060e5c6a046f lep 2015-02-04 11:33:14
Rewrote the hashtable. 55c0f9ae7d284df88c48e7c2ac1c547cda1d802a lep 2015-02-04 11:24:53
Fixed some memory violations. 26a99d799804d8154c4ee1aa0850cdaad909d1ae lep 2015-02-03 23:27:32
Reverted smth. dbd5c217795cf5cd014ed7370655e62591d4d0fe lep 2015-02-03 22:12:49
Commit cb4a086136acb1a8d7b0bc8397237bbfbdc56191 - Optimized //+rb marker check.
Author: lep
Author date (UTC): 2015-10-04 18:11
Committer name: lep
Committer date (UTC): 2015-10-04 18:11
Parent(s): 4f366b09d651baf0846ed2097db94d35fe42b5a0
Signer:
Signing key:
Signing status: N
Tree: efa41399417d63028728ba0cc4fc5031440e8fe8
File Lines added Lines deleted
token.l 9 17
File token.l changed (mode: 100644) (index 51ec36b..3f3d1cf)
... ... TABS [\x01-\x09\x0B\x0C\x0E-\x1F]
38 38 %% %%
39 39
40 40 {COMMENTSTART} { {COMMENTSTART} {
41 char *buf = malloc(512);
42 memset(buf, 0, 512);
43 int size = 512;
44 int len = 0;
41 char buf[4] = {0};
42 int len = 0;
45 43 int c; int c;
46 44 for(c = input(); !(c == '\n' || c == EOF); c = input()){ for(c = input(); !(c == '\n' || c == EOF); c = input()){
47 if(len == size){
48 buf = realloc(buf, 2*size);
49 size*=2;
50 }
51 if(c != '\r')
52 buf[len++] = c;
45 if(c != '\r' && len < sizeof(buf)-1)
46 buf[len++] = c;
53 47 } }
54 48 lineno++; lineno++;
55 49 islinebreak = 1; islinebreak = 1;
56 50 isconstant = 0; isconstant = 0;
57 51
58 if(!strcmp(buf, "+rb")){
59 free(buf);
60 return RETURNBUG;
61 }else{
62 free(buf);
63 return NEWLINE;
64 }
52 if(!strcmp(buf, "+rb")){
53 return RETURNBUG;
54 }else{
55 return NEWLINE;
56 }
65 57 } }
66 58
67 59 [']\\[btrnf\\]['] { return UNITTYPEINT; } [']\\[btrnf\\]['] { return UNITTYPEINT; }
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/vrtc/pjass

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/vrtc/pjass

Clone this repository using git:
git clone git://git.rocketgit.com/user/vrtc/pjass

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main