Wolfgang Bumiller
|
b39b61e514
|
store the actual parsing context before parsing into an expression and use that for the effectless-statement warning
|
2013-01-25 23:37:06 +01:00 |
|
Wolfgang Bumiller
|
9afe41471b
|
error when using a type not usable as boolean in a condition, ie an if statement
|
2013-01-25 19:19:23 +01:00 |
|
Wolfgang Bumiller
|
7fb3b97e73
|
-v now prints the initial value of globals in -printdefs
|
2013-01-25 19:17:31 +01:00 |
|
Wolfgang Bumiller
|
48f8d0e0c3
|
changing some error prints to print to stderr in exec.c
|
2013-01-25 18:41:17 +01:00 |
|
Wolfgang Bumiller
|
ad7059156a
|
now moving -Ocall-stores to -O3
|
2013-01-25 16:25:59 +01:00 |
|
Wolfgang Bumiller
|
9b51e7085b
|
In this situation the values don't need to be in parameter order; fix: call-stores putting values into wrong extparams
|
2013-01-25 16:25:23 +01:00 |
|
Wolfgang Bumiller
|
31f0c05ebc
|
Merge branch 'master' into cooking
|
2013-01-25 16:03:38 +01:00 |
|
Wolfgang Bumiller
|
3c8ce7c866
|
moving -Ocall-stores to -O4 until the vehicle issue is solved
|
2013-01-25 16:03:16 +01:00 |
|
Wolfgang Bumiller
|
69e29c3ef8
|
debug extparam naming shouldn't start at 8, it's confusing, param 9 is now named extparam0
|
2013-01-25 15:37:09 +01:00 |
|
Wolfgang Bumiller
|
ef0de47954
|
Converting gmqcc.1 from man to mdoc style. It can produce nice html output so we can create an online version of the manpage which doesn't look like crap... still todo: qcvm.1
|
2013-01-24 22:23:49 +01:00 |
|
Wolfgang Bumiller
|
32f1a5d2c8
|
manpage: fixing a .TP/.B mixup
|
2013-01-24 12:56:38 +01:00 |
|
Wolfgang Bumiller
|
62af1659eb
|
adding testcase for various parentheses and ternary combinations which to test the newly refactored code; includes some cases not hit by xonotic
|
2013-01-18 15:22:53 +01:00 |
|
Wolfgang Bumiller
|
dca9dd56d1
|
adding missing wantop flag and some related parentheses code
|
2013-01-18 15:22:03 +01:00 |
|
Wolfgang Bumiller
|
ba207cc04c
|
Major expression parsing code refactoring, getting rid of lots of duplicated code and in the process also fixing a bug. Still thie will require more testing. xonotic code works with it though
|
2013-01-18 14:50:37 +01:00 |
|
Dale Weiler
|
496aededb1
|
Fix debian package building, now works.
|
2013-01-18 00:45:35 +00:00 |
|
Wolfgang Bumiller
|
5d9ad219cf
|
removing unused vars, and following conventions
|
2013-01-17 23:46:27 +01:00 |
|
Dale Weiler
|
99482a324e
|
-f to supress error if file doesn't exist for rm clean target
|
2013-01-17 22:34:39 +00:00 |
|
Dale Weiler
|
57102aea4a
|
Use $(PREFIX)
|
2013-01-17 22:34:06 +00:00 |
|
Dale Weiler
|
1d4c0bb388
|
Fix the brokenness
|
2013-01-17 22:33:02 +00:00 |
|
Wolfgang Bumiller
|
de28df33ec
|
Rather than performing copying the install-procedure, the debian Makefile could just use the main Makefile's install target
|
2013-01-17 23:25:09 +01:00 |
|
Wolfgang Bumiller
|
a8d5504445
|
fixing manpage permissions
|
2013-01-17 23:22:38 +01:00 |
|
Dale Weiler
|
94a83ad969
|
Added makefile script for generating deb packages the portable .. but more manual way. It doesn't support multi-architecture yet. It just grabs what ever is already compiled. Not tested!
|
2013-01-17 22:10:36 +00:00 |
|
Wolfgang Bumiller
|
06f53b1a28
|
When not actually executing, don't complain about invalid progs.dat versions for now.
|
2013-01-17 17:36:06 +01:00 |
|
Wolfgang Bumiller
|
8697fa59f3
|
Added counter-stability test to the varargs testcase
|
2013-01-17 10:32:43 +01:00 |
|
Wolfgang Bumiller
|
1410840ef6
|
Make the varargs counter more stable, it'll now work with a function pointer with a different number of fixed params
|
2013-01-17 10:30:32 +01:00 |
|
Wolfgang Bumiller
|
4c0a358e2b
|
Update CHANGES file
|
2013-01-17 10:06:01 +01:00 |
|
Wolfgang Bumiller
|
d5ba5a6e6a
|
linenumbers and macros are stupid
|
2013-01-16 23:34:54 +01:00 |
|
Wolfgang Bumiller
|
7d2b0e9638
|
more linenumber madness
|
2013-01-16 22:58:43 +01:00 |
|
Wolfgang Bumiller
|
b31e9b63eb
|
fix: trigraph check screwing up linenumbering
|
2013-01-16 22:09:27 +01:00 |
|
Wolfgang Bumiller
|
81f3a6d186
|
fix an off-by-one bug when copying varargs
|
2013-01-16 21:04:08 +01:00 |
|
Wolfgang Bumiller
|
00a9d2a9e3
|
fixing a possible NULL deref
|
2013-01-16 20:32:37 +01:00 |
|
Wolfgang Bumiller
|
e311dffcb3
|
fixing a warning
|
2013-01-16 16:16:52 +01:00 |
|
Wolfgang Bumiller
|
0ba8455f6a
|
initialize max_param_count to 1 so vararg functions don't try to create an accessor for an array of 0 elements...
|
2013-01-16 09:37:32 +01:00 |
|
Wolfgang Bumiller
|
dfad837f5b
|
this might fix some linenumbering, I hope
|
2013-01-15 22:29:44 +01:00 |
|
Wolfgang Bumiller
|
11450c11d1
|
manpage: -E was missing all that time in there
|
2013-01-15 22:08:15 +01:00 |
|
Wolfgang Bumiller
|
dfa6d0c9ad
|
call ftepp_recursion_header/footer only when there are newlines in the expanded macro
|
2013-01-15 22:03:16 +01:00 |
|
Wolfgang Bumiller
|
f8f4ad8ee5
|
a tiny speedup, seems like -O2 doesn't do that by itself
|
2013-01-15 20:57:30 +01:00 |
|
Wolfgang Bumiller
|
e695a5919d
|
reduce the hashtable size a bit
|
2013-01-15 20:35:30 +01:00 |
|
Wolfgang Bumiller
|
b311cd6163
|
that tempbool should have gone long ago...
|
2013-01-15 20:27:23 +01:00 |
|
Wolfgang Bumiller
|
73afc98699
|
fix: on error it was possible that leaveblock() is called after the function's already been deleted
|
2013-01-15 14:28:15 +01:00 |
|
Wolfgang Bumiller
|
150c6e21e7
|
fix a goto to a wrong error-cleanup part
|
2013-01-15 14:23:17 +01:00 |
|
Wolfgang Bumiller
|
c7ca5683b9
|
fix a possible leak
|
2013-01-15 14:20:08 +01:00 |
|
Wolfgang Bumiller
|
0f190026e8
|
Error on an empty paren expression
|
2013-01-15 14:18:03 +01:00 |
|
Wolfgang Bumiller
|
ee7d45f492
|
add a hint about -fvariadic-args to -Wvariadic-function
|
2013-01-15 11:35:18 +01:00 |
|
Wolfgang Bumiller
|
b208c1a49f
|
Fix a crash... if (!x) delete(x) yeah right...
|
2013-01-15 10:50:14 +01:00 |
|
Wolfgang Bumiller
|
73c86127f7
|
fix the broken vector instructions in our executor as well... how could I forget
|
2013-01-14 14:22:02 +01:00 |
|
Wolfgang Bumiller
|
bfbbe0c771
|
gmqcc.ini.example: LEGACY_VECTOR_MATHS
|
2013-01-14 11:17:25 +01:00 |
|
Wolfgang Bumiller
|
0962dfdd4d
|
manpage: -flegacy-vector-maths
|
2013-01-14 11:16:49 +01:00 |
|
Wolfgang Bumiller
|
d12e6e15c9
|
-flegacy-vector-maths, enabled by default
|
2013-01-14 11:15:06 +01:00 |
|
Wolfgang Bumiller
|
d7f4e981a3
|
fix: missing-return check: vec_size(entries) is 0 on the entry-block, also check if it's the first block
|
2013-01-14 10:56:56 +01:00 |
|