Commit graph

2058 commits

Author SHA1 Message Date
Dale Weiler
d1f4b108a0 Update makefile 2013-02-06 10:54:14 +00:00
Dale Weiler
ecd9e3be97 Make the testsuite C++ compatible. 2013-02-06 10:52:09 +00:00
Dale Weiler
eb0e3c2898 Make it compile as C++ code again. 2013-02-06 10:36:27 +00:00
Wolfgang Bumiller
9bc774dcd3 find aliases in parser_find_global instead of parser_sya_operand 2013-02-06 10:55:06 +01:00
Dale Weiler
cb1a6a6a6b Store the ast nodes for aliases 2013-02-06 09:44:23 +00:00
Dale Weiler
1e60bafcdc Aliases to aliases is a bad idea, revert. Added better tests to show unused aliases 2013-02-06 09:28:42 +00:00
Dale Weiler
21e890602d Fix alias bug. Implemented support for aliases of vectors (x, y, z components). Also made aliases corrector resident (e.g alias to vector foo, named bop, indexing bol_x [instead of bop_x] will result in a correction suggestion of bop_x now). 2013-02-06 09:09:47 +00:00
Dale Weiler
6fc141733f Support for aliases to aliases too. 2013-02-06 08:43:11 +00:00
Dale Weiler
060bc0be10 Some sanity checks for aliases (undeclared variable checks, and incompatible types in alias checks.) 2013-02-06 05:51:05 +00:00
Dale Weiler
3dc8e9bb9c add todo 2013-02-06 05:38:34 +00:00
Dale Weiler
e464cc1ea6 Implemented generalized attribute aliases. You can now alias functions, locals, or globals with [[alias("old_name")]] type new_name; 2013-02-06 05:30:09 +00:00
Dale Weiler
52ffc6db10 Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking 2013-02-05 17:16:09 +00:00
Dale Weiler
9cff2f7b8a perl ops -> pops 2013-02-05 17:15:28 +00:00
Dale Weiler
b3e87c3280 ast referencing 2013-02-05 17:14:56 +00:00
Wolfgang Bumiller
4b5afe3456 ast_array_index_codegen: never regenerate code 2013-02-05 17:54:14 +01:00
Dale Weiler
e2c424d607 Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking 2013-02-05 16:35:12 +00:00
Dale Weiler
8e87082e1d Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking
Conflicts:
	parser.c
2013-02-05 16:34:55 +00:00
Wolfgang Bumiller
72106b0982 removing some left-over alloc checks 2013-02-05 17:34:40 +01:00
Dale Weiler
fed0f8b6b4 Work in progress <=> operator. 2013-02-05 16:34:03 +00:00
Wolfgang Bumiller
f860759758 fixing that comment 2013-02-05 17:24:02 +01:00
Wolfgang Bumiller
15141897ae insert an error when an operator doesn't get found - note the comment... 2013-02-05 17:17:38 +01:00
Dale Weiler
31ce4c2afa Better handling of multiple body functions. 2013-02-05 03:28:20 +00:00
Dale Weiler
8e1cd4b1df Update doc/specification.tex 2013-02-04 11:13:11 -05:00
Dale Weiler
442adee298 Update doc/specification.tex 2013-02-04 06:22:28 -05:00
Dale Weiler
e11a17b408 Update doc/specification.tex 2013-02-04 02:48:36 -05:00
Dale Weiler
e7aa24bd28 Work in progress specification LaTeX document for "The GMQCC QuakeC Programming Language" 2013-02-04 07:18:39 +00:00
Wolfgang Bumiller
06ff6eb054 get that message back in 2013-02-04 00:28:35 +01:00
Wolfgang Bumiller
ce8b595ff2 Yes, that's what you are SUPPOSED to do in this case: ERROR, not default to crap 2013-02-04 00:20:41 +01:00
Wolfgang Bumiller
46892daa3a Reverting this awful unmaintainable mess of option description system 2013-02-04 00:19:56 +01:00
Wolfgang Bumiller
e662efae61 fix: rotate_entfield_array_index_nodes deleting the old array caused expressions to be deleted recursively 2013-02-03 23:38:06 +01:00
Wolfgang Bumiller
530dbd85b2 properly mask #message, #warning, #error by ftepp->output_on 2013-02-03 23:23:50 +01:00
Wolfgang Bumiller
0d1b40c9c1 Adding a WIP style sheet for mandoc html output 2013-02-03 19:38:42 +01:00
Wolfgang Bumiller
c41ef65cc9 Merge branch 'master' into cooking 2013-02-03 19:01:30 +01:00
Wolfgang Bumiller
95dd0fcd9f Add -fdarkplaces-string-table-bug to the default flags 2013-02-03 19:01:27 +01:00
Dale Weiler
2b51b35634 Fix this target for archlinux 2013-02-02 09:02:03 +00:00
Dale Weiler
ddb0be6c0a Merge pull request #96 from matthiaskrgr/cooking_PKGBUILD
PKGBUILDs: rename "arch" to "archlinux", move archbsd PKGBUILDs into own...
2013-02-02 00:58:57 -08:00
matthiaskrgr
2e07a7b2c1 PKGBUILDs: rename "arch" to "archlinux", move archbsd PKGBUILDs into own "archbsd" parent directory. 2013-02-02 09:54:31 +01:00
Dale Weiler
7b96b0bd6d s/%d/%s/ 2013-02-02 01:04:26 +00:00
Dale Weiler
319783e873 Better printing of token errors. 2013-02-02 01:03:39 +00:00
Dale Weiler
4c0a836ca6 typo 2013-02-02 00:59:19 +00:00
Dale Weiler
d45853f5fe Update authors file 2013-02-02 00:58:15 +00:00
Dale Weiler
9bf8f9c505 Add bitnot test for testsuite. 2013-02-02 00:12:46 +00:00
Dale Weiler
ccdfd4c65a oops 2013-02-01 23:12:48 +00:00
Dale Weiler
394f1deade Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking 2013-02-01 23:11:26 +00:00
Dale Weiler
a3559548a8 Fix ~ unary operator (can now const-fold). Also things like b &= ~1 work now. We also cache ast_value of float (-1) for -1-x (which is how ~ is implemented). 2013-02-01 23:10:23 +00:00
Wolfgang Bumiller
c34f5d20ed Merge branch 'cooking' of git://github.com/graphitemaster/gmqcc into cooking 2013-02-01 19:12:45 +01:00
Dale Weiler
03b933bc7a Work in progress ~ operator implemented as -1-x. 2013-02-01 12:56:01 +00:00
Dale Weiler
bf6eb9432e Fix memleak and assignment for cached lengths in corrector 2013-02-01 06:22:29 +00:00
Wolfgang Bumiller
ea15abada5 manpage: removed -Wpreprocessor 2013-01-31 22:23:29 +01:00
Wolfgang Bumiller
622c55f254 converted qcvm.1 to mdoc 2013-01-31 22:15:01 +01:00