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)
pjass now checks against //! +rb instead of //+rb. Whitespace allowed. 27da8d5250f0b815ef5d8765e0eac766ac4cce6b lep 2015-10-04 21:52:31
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
Commit 27da8d5250f0b815ef5d8765e0eac766ac4cce6b - pjass now checks against //! +rb instead of //+rb. Whitespace allowed.
Author: lep
Author date (UTC): 2015-10-04 21:52
Committer name: lep
Committer date (UTC): 2015-10-04 21:52
Parent(s): cb4a086136acb1a8d7b0bc8397237bbfbdc56191
Signer:
Signing key:
Signing status: N
Tree: 1cae2bed35bedce455c27c288683f00955c50e01
File Lines added Lines deleted
token.l 8 4
File token.l changed (mode: 100644) (index 3f3d1cf..12669ad)
... ... TABS [\x01-\x09\x0B\x0C\x0E-\x1F]
38 38 %% %%
39 39
40 40 {COMMENTSTART} { {COMMENTSTART} {
41 char buf[4] = {0};
41 char buf[5] = {0};
42 int pos = 0;
42 43 int len = 0; int len = 0;
43 44 int c; int c;
44 45 for(c = input(); !(c == '\n' || c == EOF); c = input()){ for(c = input(); !(c == '\n' || c == EOF); c = input()){
45 if(c != '\r' && len < sizeof(buf)-1)
46 buf[len++] = c;
46 if(c == '\r' || c == '\t' || c == ' ')
47 continue;
48 len++;
49 if(pos < sizeof(buf)-1)
50 buf[pos++] = c;
47 51 } }
48 52 lineno++; lineno++;
49 53 islinebreak = 1; islinebreak = 1;
50 54 isconstant = 0; isconstant = 0;
51 55
52 if(!strcmp(buf, "+rb")){
56 if(len == strlen("!+rb") && !strcmp(buf, "!+rb")){
53 57 return RETURNBUG; return RETURNBUG;
54 58 }else{ }else{
55 59 return NEWLINE; return NEWLINE;
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