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)
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
Changed sprintf to snprintf. 02d6efe2aed9186b2e6189b36a5fa50d2e0c2221 lep 2015-02-03 21:33:05
Wrapped typenode member accesses in getTypePtr. 372c1f9da68a65de9e14dff3881e1758d5e7114b lep 2015-02-03 21:05:11
Added ifdefs for memalign functionality. f005f5e8067994ebd76265e3289e6ab67283b96f lep 2015-02-03 20:06:20
Missing-return check in elseifs should work now. 4274d6166e2c92a4591c1e46a0d71f1579a57c7d lep 2015-02-03 19:35:39
Missing-return checks also checks elseifs. 889122b0fb788663c728127520d0e7124c2a040c lep 2015-02-03 15:18:12
Fixed some more warnings. a5ae36b5299ac419a91592b60b8fcb1dfd8f4374 lep 2015-02-03 13:24:56
Added early exit to editdistance function. 82e8d024392d357d56c833c6b7f7632ffd6830a8 lep 2015-02-02 16:13:40
Unidentified variables are now marked as initialized. f3ef715b90782bc22fbdd29e1c16d7c917f407a9 lep 2015-02-02 13:56:00
Fixed bug in editdistance. a786775b057fc5795db1b2b106b7b9e3c1df6c4c lep 2015-02-02 13:41:15
Added basic uninitialized variable check for locals. c8222a6f68e44a46624c1f9ee781f590522f45f6 lep 2015-02-02 12:41:25
Added git-versionstring. e13ce6d7d90bccd8e18de6d0b01a18ea4501862b lep 2015-02-01 14:56:01
Removed returnsbool-check for Filter/Condition. e26a973fe1fdc1af999633c8d1f29afcbae76f0b lep 2015-02-01 14:51:47
Fixed some bison warnings. aca6b13e73d95c41787a7a0fdcc33407247be3a8 lep 2015-02-01 14:49:55
Removed multiline comments. e6d3a1bb5099bbf6e3a4ef2501645b15908a1ce8 lep 2015-02-01 14:49:16
Commit 83c8b2b0e6811380bddf6e92e3b2f843370d5e05 - Small changes. Removed some unused symbols.
Author: lep
Author date (UTC): 2015-02-05 12:43
Committer name: lep
Committer date (UTC): 2015-02-05 12:43
Parent(s): db20d22434506716774fa4e8577f98073f17d6c2
Signer:
Signing key:
Signing status: N
Tree: 0f5066f803493c18c6053dde436d0c3dd7ea4e32
File Lines added Lines deleted
misc.c 3 5
misc.h 0 3
File misc.c changed (mode: 100644) (index b4e6e66..72af1e0)
... ... void init(int argc, char **argv)
69 69
70 70 gNothing = newtypenode("nothing", NULL); gNothing = newtypenode("nothing", NULL);
71 71 gNull = newtypenode("null", NULL); gNull = newtypenode("null", NULL);
72
72 73 gAny = newtypenode("any", NULL); gAny = newtypenode("any", NULL);
73 74 gNone = newtypenode("none", NULL); gNone = newtypenode("none", NULL);
74 gEmpty = newtypenode("gempty", NULL);
75 gEmpty = newtypenode("empty", NULL);
75 76
76 77 curtab = &globals; curtab = &globals;
77 78 fno = 0; fno = 0;
 
... ... uint32_t hashfunc(const char *key, int size) {
408 409 void inittable(struct hashtable *h, int size){ void inittable(struct hashtable *h, int size){
409 410 h->count = 0; h->count = 0;
410 411 h->size = size; h->size = size;
411 h->bucket = malloc(h->size * sizeof(struct hashnode));
412 memset(h->bucket, 0, h->size * sizeof(struct hashnode));
413 assert(h->count == 0);
414 assert(h->size == size);
412 h->bucket = calloc(sizeof(struct hashnode), h->size);
415 413 } }
416 414
417 415 void *lookup(struct hashtable *h, const char *name) void *lookup(struct hashtable *h, const char *name)
File misc.h changed (mode: 100644) (index ef54031..f190fc7)
10 10 #define YYDEBUG 1 #define YYDEBUG 1
11 11
12 12 #define BUFSIZE 8192 #define BUFSIZE 8192
13 #define MAYBE 0
14 #define NO 1
15 #define YES 2
16 13
17 14 struct typenode { struct typenode {
18 15 char *typename; char *typename;
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