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)
FreeBsd patches. 6c3acc1dff6ecd5fa486506fabed077be5347afc lep 2016-01-17 10:23:48
Cleaned up string and comment handling in the lexer ebec6e67e248bef82bf92416733b394399c4e1d4 lep 2016-01-17 09:51:44
Added \r, \n (\x10, \x13) as invalid escape characters. 85d0c7e4453c1879bcbc4db8be28527c5ce9f4f7 lep 2016-01-06 13:16:49
Fixed another rare crash. b6edcc3cfd5c1c837318b0efa5ded6f16e86b403 lep 2015-12-21 19:02:41
Fixed various warnings. 6027429ad1895baef4796ac4ae43952ed51f6174 lep 2015-10-28 09:27:40
Added prof target to makefile 9c4b383d3f7416a30a8bde79c735097edaf8d84a lep 2015-10-27 19:14:20
Added gprof support. 374f624967a563dd4c356a3fc104f8ced49fd692 lep 2015-10-27 18:10:13
Changed //! +rb to //# +rb 63af0d3664320cc94ee6e284c308b1983bcfdab2 lep 2015-10-27 17:17:04
Fixed rare segmentation fault. 13a129c8800d306c4117a54cf62cabbb86db3092 lep 2015-10-25 16:11:55
Makefile fixes. 08a5e4d203b0917d78c9fb479ff197d04f473b33 lep 2015-10-25 10:51:12
Makefile improvements (-O3 -flto) 035a361468f060b12bc473e5ec6b0d59db0765d3 lep 2015-10-24 09:16:16
Moved tests into this folder. 099d64a6284a26eafde87ef274c1210455db6f3e lep 2015-10-05 21:29:42
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
Commit 6c3acc1dff6ecd5fa486506fabed077be5347afc - FreeBsd patches.
Author: lep
Author date (UTC): 2016-01-17 10:23
Committer name: lep
Committer date (UTC): 2016-01-17 10:23
Parent(s): ebec6e67e248bef82bf92416733b394399c4e1d4
Signer:
Signing key:
Signing status: N
Tree: 4dc5a6b52903270fdfd2d2147e510de923691c55
File Lines added Lines deleted
Makefile 1 1
misc.c 1 10
File Makefile changed (mode: 100644) (index 0774225..230a792)
1 CFLAGS = -O3 -flto
1 CFLAGS = -O4
2 2 VERSION := $(shell git rev-parse --short HEAD) VERSION := $(shell git rev-parse --short HEAD)
3 3
4 4 # when testing and releasing, we can't run both in parallel # when testing and releasing, we can't run both in parallel
File misc.c changed (mode: 100644) (index 58e036d..702b66e)
7 7 #include <stdio.h> #include <stdio.h>
8 8 #include <string.h> #include <string.h>
9 9 #include <assert.h> #include <assert.h>
10 #include <malloc.h>
11 10 #include <stdlib.h> #include <stdlib.h>
12 11 #include <stdint.h> #include <stdint.h>
13 12 #include "grammar.tab.h" #include "grammar.tab.h"
 
18 17 #endif #endif
19 18 #define ERRORLEVELNUM 4 #define ERRORLEVELNUM 4
20 19
21 #if !(defined __CYGWIN__ || defined linux)
22 extern void * _aligned_malloc(size_t size, size_t alignment);
23 #endif
24
25 20 int fno; int fno;
26 21 int lineno; int lineno;
27 22 int haderrors; int haderrors;
 
... ... struct typeandname *newtypeandname(const struct typenode *ty, const char *name)
284 279 struct typenode *newtypenode(const char *typename, const struct typenode *superclass) struct typenode *newtypenode(const char *typename, const struct typenode *superclass)
285 280 { {
286 281 struct typenode *result; struct typenode *result;
287 #if defined __CYGWIN__ || defined linux
288 result = memalign(8, sizeof(struct typenode));
289 #else
290 result = _aligned_malloc(8, sizeof(struct typenode));
291 #endif
282 result = aligned_alloc(8, sizeof(struct typenode));
292 283 result->typename = strdup(typename); result->typename = strdup(typename);
293 284 result->superclass = superclass; result->superclass = superclass;
294 285 return result; return result;
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