Commit graph

2343 commits

Author SHA1 Message Date
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
Dale Weiler
d7a47eb5f9 Ignore most memory comparisions by validating the lengths are the same first. Becomes O(log(n)) from O(n) for correct_exists. 2013-01-30 23:32:15 +00:00
Dale Weiler
a6ecc3cbc4 Cache lengths in corrector. This speeds up the corrector a little. 2013-01-30 23:22:03 +00:00
Dale Weiler
a1fac66587 Added definition file for test-suite, used by default by the test system. To override the defs globally, use -defs=file from the command line for the test-suite. To override the defs per-file, use F: -no-defs flag in the test template file. 2013-01-30 08:04:56 +00:00
Dale Weiler
9fffb3441c Older clang had -Wmissing-variable-declarations, which causes a heap of warnings, we disable it, because it's a stupid warning. However, because it's unsupported in newer clang, disabling it causes a warning, so we need to -Wno-unknown-warning-option. *sigh* 2013-01-30 06:52:36 +00:00
Dale Weiler
5f9f6c11b8 Get it compiling with C++ compilers again. 2013-01-30 06:49:50 +00:00
Dale Weiler
1916a6e339 Slightly larger code, but strategic inline for corrector stuff. Makes it a little faster on my RPi (unnoticable on my desktop though). 2013-01-30 06:36:00 +00:00
Dale Weiler
b9f46f4ef7 Not an assembler instruction, but virtual instruction used by the IR. 2013-01-30 06:31:24 +00:00
Dale Weiler
18c317a787 Empty string, not "<null>" 2013-01-30 06:28:02 +00:00
Dale Weiler
8c6f4c3fc3 Cleanups 2013-01-30 06:27:06 +00:00
Dale Weiler
835659ac48 Don't ignore return result from test_perform. 2013-01-30 06:17:57 +00:00
Dale Weiler
44c87bedfc It is used, gcc is a liar. 2013-01-30 06:14:35 +00:00
Dale Weiler
98fd5cd429 Some cleanups and what not. 2013-01-30 06:13:11 +00:00
Dale Weiler
ebd6a1ae95 Document the options in the opts.def file 2013-01-30 06:04:34 +00:00
Dale Weiler
9f5f2b6d74 Fix pragma parsing that I broke. 2013-01-30 05:51:28 +00:00
Dale Weiler
e12d492d67 Removing #error/#warning/#message from parser, and making it part of preprocessor as directives again. 2013-01-30 05:49:08 +00:00