Wolfgang (Blub) Bumiller
|
1559dedfd9
|
ir_value_set_field
|
2012-08-11 15:41:10 +02:00 |
|
Wolfgang (Blub) Bumiller
|
48d330a1e9
|
unnamed globals in the trace output use [@addr] now instead of [#addr] since # is used as a prefix for all immediates, so now it's less confusing
|
2012-08-11 11:46:44 +02:00 |
|
Wolfgang (Blub) Bumiller
|
9b2e26a189
|
don't set globaladdr directly, use a setter, the setter will update the member values used for vector access too
|
2012-08-11 11:45:26 +02:00 |
|
Wolfgang (Blub) Bumiller
|
b5bee640d0
|
nicer trace output, strings now get escaped
|
2012-08-11 11:31:50 +02:00 |
|
Wolfgang (Blub) Bumiller
|
9c2e6a2334
|
Experimental ast_member to access vector members
|
2012-08-08 14:49:37 +02:00 |
|
Wolfgang (Blub) Bumiller
|
8dccf69060
|
fix the chack for -Wno- and -fno-, it needs to use NO_ instead of no-
|
2012-08-08 12:43:02 +02:00 |
|
Wolfgang (Blub) Bumiller
|
babc6d209e
|
Add WARN_ prefix to warnings enum
|
2012-08-08 12:25:19 +02:00 |
|
Wolfgang (Blub) Bumiller
|
2bf40b4104
|
include opts_debug and opts_memchk in exec.c's standalone part for now to have it compile
|
2012-08-08 12:07:37 +02:00 |
|
Wolfgang (Blub) Bumiller
|
7fed5bf41f
|
make it also compilable with -std=c99 by not redefining extra_semicolon_, by appending N to it
|
2012-07-30 13:48:53 +02:00 |
|
Wolfgang Bumiller
|
47a8a69f1c
|
ast nodes now store their type id, and can be checked via ast_istype
|
2012-07-29 10:03:13 +02:00 |
|
Wolfgang Bumiller
|
03307a0903
|
ir_block_create_fieldaddress to pass on fieldtype from its input field
|
2012-07-28 21:59:34 +02:00 |
|
Wolfgang Bumiller
|
06ee0dc4f7
|
test/ast-test.c must define opts_ variables since we don't compile main.c into it
|
2012-07-28 21:56:35 +02:00 |
|
Wolfgang Bumiller
|
d05bee94d1
|
code_alloc_field to allocate entityfield data, ir now has ir_builder_create_field - so that globals and fields can be created separately - properly
|
2012-07-28 21:55:01 +02:00 |
|
Wolfgang Bumiller
|
a7957a9fdc
|
Merge branch 'master' into cmdline
|
2012-07-28 21:04:59 +02:00 |
|
Wolfgang Bumiller
|
9216ee50f5
|
use util_ functions for strtocmd and strtononcmd
|
2012-07-28 19:31:14 +02:00 |
|
Wolfgang Bumiller
|
93105d4c2c
|
Added missing parameter names
|
2012-07-28 19:31:02 +02:00 |
|
Wolfgang Bumiller
|
3321748e4a
|
util_strtocmd, util_strtononcmd
|
2012-07-28 19:28:27 +02:00 |
|
Wolfgang Bumiller
|
c81eb57480
|
reuse old opts_, renamed all opt_ to opts_ to be consistent, making code.c use OPTS_FLAG() for OMIT_NULL_BYTES and DARKPLACES_STRING_TABLE_BUG
|
2012-07-28 19:20:19 +02:00 |
|
Wolfgang Bumiller
|
25e49a669d
|
flags.def and warns.def containing defined flags and warnings
|
2012-07-28 19:09:44 +02:00 |
|
Wolfgang Bumiller
|
c5ba27da6f
|
ast_store to take ast_expression on its left, rather than ast_value. Assigning to a vector member would not put an ast_value on the left, but an ast_member, thus: ast_expression now already
|
2012-07-28 18:13:12 +02:00 |
|
Wolfgang Bumiller
|
17643c9940
|
consistency ftw
|
2012-07-28 15:57:28 +02:00 |
|
Wolfgang Bumiller
|
bddf0bb384
|
-fhelp to list -f flags, -Whelp to list -W options
|
2012-07-28 14:50:07 +02:00 |
|
Wolfgang Bumiller
|
ac26c2f2f2
|
Add -foverlap-locals - something we really should make possible
|
2012-07-28 14:48:02 +02:00 |
|
Wolfgang Bumiller
|
3072ce7eba
|
Added handler for -W
|
2012-07-28 13:59:35 +02:00 |
|
Wolfgang Bumiller
|
d06cc6c2d1
|
Fixing a warning
|
2012-07-28 13:50:12 +02:00 |
|
Wolfgang Bumiller
|
244e6a0a4d
|
Importing gmqcc.1
|
2012-07-28 13:47:14 +02:00 |
|
Wolfgang Bumiller
|
5e026dd62a
|
Print out all the information parsed from the commandline
|
2012-07-28 13:20:06 +02:00 |
|
Wolfgang Bumiller
|
ddfd44e2a4
|
gcc style long option support and -std=foo added
|
2012-07-28 12:59:33 +02:00 |
|
Wolfgang Bumiller
|
3c462539a6
|
Commandline handling first draft
|
2012-07-28 12:36:20 +02:00 |
|
Wolfgang Bumiller
|
10d70328c8
|
executor: prog_delete: deleting builtins properly - unless statically allocated; added a qc_builtins array for the standalone executor containing 'print'
|
2012-07-27 19:27:56 +02:00 |
|
Wolfgang Bumiller
|
5f0a6bcc53
|
_MEM_ -> MEM_ again at use
|
2012-07-27 19:18:04 +02:00 |
|
Wolfgang Bumiller
|
f8b3081c44
|
Merging master and adapting _MEM_* on new mem-vector functions
|
2012-07-27 19:13:03 +02:00 |
|
Wolfgang Bumiller
|
81fd77da38
|
_MEM_... -> MEM_...
|
2012-07-27 19:02:18 +02:00 |
|
Wolfgang Bumiller
|
42168fde00
|
removing an old comment
|
2012-07-27 15:27:34 +02:00 |
|
Wolfgang Bumiller
|
2674982854
|
Moving parameters to from ast_value to ast_expression_common, it's part of the type after all
|
2012-07-27 15:22:39 +02:00 |
|
Wolfgang Bumiller
|
ab11808208
|
ast_block_set_type
|
2012-07-27 13:39:58 +02:00 |
|
Wolfgang Bumiller
|
1f8ece7f20
|
ast_return_new doesn't take an operator, we use INSTR_RETURN always, never INSTR_DONE for explicit returns
|
2012-07-26 23:23:47 +02:00 |
|
Wolfgang Bumiller
|
b4225ea98a
|
INSTR_NOT_* output to opC not opB...
|
2012-07-26 22:11:46 +02:00 |
|
Wolfgang Bumiller
|
31ba1ec6c1
|
ast_return
|
2012-07-26 21:18:39 +02:00 |
|
Wolfgang Bumiller
|
e22d340e23
|
ast/ir support for unary instructions
|
2012-07-26 20:45:18 +02:00 |
|
Wolfgang Bumiller
|
4255b143b0
|
Removed params from ast_function again. It really is superfluous to copy them, just generate them from its ast_value's param list
|
2012-07-22 12:35:10 +02:00 |
|
Wolfgang Bumiller
|
d4c408b4bd
|
fix a warning about a format string
|
2012-07-22 12:22:25 +02:00 |
|
Wolfgang Bumiller
|
9c2c62e82b
|
use type_sizeof in another place where it wasn't
|
2012-07-22 12:20:06 +02:00 |
|
Wolfgang Bumiller
|
a4617d0e61
|
ast_function generates parameter locals, ir_function_create_local now allows adding parameters as long as no local variables have been added yet
|
2012-07-22 12:15:48 +02:00 |
|
Wolfgang Bumiller
|
43897f6e8f
|
store_param storetype, parameter value list added to ast_function
|
2012-07-22 12:07:30 +02:00 |
|
Wolfgang Bumiller
|
fec07921a4
|
removing params vector from ast_function, params are stored in its ast_value only
|
2012-07-19 18:14:08 +02:00 |
|
Wolfgang Bumiller
|
fe8457f9ba
|
ir_function_dump to print builtins as such
|
2012-07-19 18:06:37 +02:00 |
|
Wolfgang Bumiller
|
d4b2790deb
|
Correct variable name for type_storep_instr
|
2012-07-16 12:27:58 +02:00 |
|
Wolfgang Bumiller
|
478d5ef5ad
|
type_storep_instr: in theory we could use type_store_instr + INSTR_STOREP_F - INSTR_STORE_F, however, this won't work later when TYPE_INTEGER comes in since the _I instructions are at a seperate place
|
2012-07-16 10:24:35 +02:00 |
|
Wolfgang Bumiller
|
db62b7b3bc
|
Replacing 2 switches to use type_store_instr instead
|
2012-07-16 10:19:04 +02:00 |
|