Commit graph

2286 commits

Author SHA1 Message Date
Dale Weiler
3d35804a7d Removed #warning and #error from ftepp, and made it part of the parser routine. These are "directives" that should exist regardless if -fftepp is enabled, like #pragma. Implemented #warning, #message and #error as directives in parser instead. 2013-01-30 01:24:58 +00:00
Dale Weiler
7ea1033a43 Handle all possible subscript errors 2013-01-27 21:31:18 +00:00
Dale Weiler
1597f38f45 Better handling of __VA_ARGS__ subscripting. 2013-01-27 21:27:50 +00:00
Dale Weiler
b9fcd64a1f Spiceing up the __VA_ARGS__ test 2013-01-27 13:05:01 +00:00
Dale Weiler
6fc5b32123 Fix warning, and better tests for __VA_ARGS__ 2013-01-27 13:03:02 +00:00
Dale Weiler
001d853f38 Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking 2013-01-27 12:56:43 +00:00
Dale Weiler
b4fbba5708 Implement subscripting for __VA_ARGS__, and added test-case. This only works on INTCONST for now. 2013-01-27 12:55:56 +00:00
Wolfgang Bumiller
370b54251e importing bsd-git/PKGBUILD 2013-01-27 13:12:57 +01:00
Wolfgang Bumiller
95e8140555 fixing an install cmd in bsd-release/PKGBUILD 2013-01-27 13:12:04 +01:00
Wolfgang Bumiller
3518646ad7 unmasking bsd-git/PKGBUILD in .gitignore 2013-01-27 13:10:44 +01:00
Wolfgang Bumiller
03f364a944 importing ArchBSD release PKGBUILD 2013-01-27 13:09:09 +01:00
Wolfgang Bumiller
44e416e790 unmasking bsd-release path in .gitignore 2013-01-27 13:08:31 +01:00
Wolfgang Bumiller
3e1c10628c adding pkgrel to arch/this, and getting rid of du's -b option since it won't work for ArchBSD 2013-01-27 10:31:27 +01:00
Dale Weiler
531fbaf28c Remove user-defined success/failure messages for the testsuite. Instead print an aligned to console string containing the tmpl file name. This closes #90. 2013-01-27 08:39:42 +00:00
Dale Weiler
a94d2fee4e Fixes, updates, and added uninstall target for makefile 2013-01-27 07:45:49 +00:00
Dale Weiler
3cc97984bf Add back the removal of the package directory after building package. 2013-01-27 07:26:50 +00:00
Dale Weiler
74ba208a44 Fix the size calculation 2013-01-27 07:25:46 +00:00
Dale Weiler
b4d3241e27 Add this/Makefile for generating a .tar.xz for arch packages. This is sort of like the debian one, it can be run from any *nix systems to generate a package. Currently only generates an x86_64 package, like the debian one (which only does i686). 2013-01-27 07:08:27 +00:00
Wolfgang Bumiller
4500facb2b manpage: wrong date 2013-01-26 14:44:00 +01:00
Wolfgang Bumiller
edfe340d09 Fix a warning 2013-01-26 14:43:49 +01:00
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