Wolfgang (Blub) Bumiller
|
5e4b8846d1
|
slight change to ir_value_dump_life; fixing ir_value_life_merge_into: TODO test this seperately, all cases
|
2012-08-23 22:07:32 +02:00 |
|
Wolfgang (Blub) Bumiller
|
41d1ef37d2
|
use the expression's linenumber for the 'statement has no effect' warning rather than the current one because that one's usually the line below...
|
2012-08-23 20:56:05 +02:00 |
|
Wolfgang (Blub) Bumiller
|
cb604603ca
|
-Weffectless-statement now also triggers on effectless incrementors in for-loops, if an incrementor was specified
|
2012-08-23 20:54:24 +02:00 |
|
Wolfgang (Blub) Bumiller
|
3f1cad18af
|
for the sake of testing: -Wnone
|
2012-08-23 20:52:39 +02:00 |
|
Wolfgang (Blub) Bumiller
|
45388202c4
|
-Weffectless-statement, on by default, creates 'statement has no effect' warning
|
2012-08-23 20:52:09 +02:00 |
|
Wolfgang (Blub) Bumiller
|
dff6328c9e
|
add 'X has been declared here:' too the too-few/many-parameters warning/error
|
2012-08-23 20:48:51 +02:00 |
|
Wolfgang (Blub) Bumiller
|
8adbf07555
|
Warn about unused globals too, not about functions or constants though
|
2012-08-23 20:32:33 +02:00 |
|
Wolfgang (Blub) Bumiller
|
c84830bdee
|
Warna bout unused variables - -Wunused-variable, on by default
|
2012-08-23 20:25:54 +02:00 |
|
Wolfgang (Blub) Bumiller
|
4f758284a1
|
fixing up prevoius commit: cannot reference the parser here
|
2012-08-23 19:28:15 +02:00 |
|
Wolfgang (Blub) Bumiller
|
5d23fc5f5f
|
Make the lexer use the correct error-printing mechanism
|
2012-08-23 19:20:50 +02:00 |
|
Wolfgang (Blub) Bumiller
|
9f2e8b9bfe
|
-Wframe-macros, warn about duplicate frame macro definitions, on by default
|
2012-08-23 19:16:26 +02:00 |
|
Wolfgang (Blub) Bumiller
|
19391bb190
|
the -std=qcc set of operators, still have to verify if it's the original
|
2012-08-23 19:01:15 +02:00 |
|
Wolfgang (Blub) Bumiller
|
9f411a533a
|
Add the empty globaldef/fielddef to the object, savegame skips that null-def when saving variables...
|
2012-08-23 18:40:10 +02:00 |
|
Wolfgang (Blub) Bumiller
|
76b0eb0cb7
|
Don't add DEF_SAVEGLOBAL for locals actually...
|
2012-08-23 18:32:11 +02:00 |
|
Wolfgang (Blub) Bumiller
|
b2cb612c70
|
Adding DEF_SAVEGLOBAL, marking globals as to-be-saved now, for real support of quicksaving
|
2012-08-23 18:28:05 +02:00 |
|
Wolfgang (Blub) Bumiller
|
f9746a59ae
|
it's not the IR's job to fail when a local of the same name is created twice...
|
2012-08-23 17:22:13 +02:00 |
|
Wolfgang (Blub) Bumiller
|
39a62f495c
|
removing some extra newlines in ast error messages
|
2012-08-23 17:16:07 +02:00 |
|
Wolfgang (Blub) Bumiller
|
5022f716dc
|
fix: check if parsing a variable initializer failed
|
2012-08-23 13:30:30 +02:00 |
|
Wolfgang (Blub) Bumiller
|
fe2f9d79c5
|
fixing mem-vector resize function
|
2012-08-23 13:21:14 +02:00 |
|
Wolfgang (Blub) Bumiller
|
52a1b9469c
|
qcvm won't print checksum or entity field area size without the -info option anymore
|
2012-08-23 12:42:41 +02:00 |
|
Wolfgang (Blub) Bumiller
|
412446f42e
|
-std=qcc now warns about variadic functions via -Wextensions
|
2012-08-23 11:33:50 +02:00 |
|
Wolfgang (Blub) Bumiller
|
f3b652bfce
|
Removing print2 and print3 from data/parsing.qc, replaced by variadic print
|
2012-08-23 11:30:25 +02:00 |
|
Wolfgang (Blub) Bumiller
|
f22112bcb8
|
Variadic functions: works for builtins, warns for implemenetd functions, -Wvariadic-function, on by default
|
2012-08-23 11:29:48 +02:00 |
|
Wolfgang (Blub) Bumiller
|
deb7ccb830
|
for the lexer 3 dots now become TOKEN_DOTS
|
2012-08-23 11:12:32 +02:00 |
|
Wolfgang (Blub) Bumiller
|
84149c371d
|
Possibility to call a main function with parameters by specifying -float, -vector or -string parameters to standalone qcvm
|
2012-08-23 10:35:03 +02:00 |
|
Wolfgang (Blub) Bumiller
|
ab440743eb
|
on linux we need -lm for sqrt
|
2012-08-23 10:24:41 +02:00 |
|
Wolfgang (Blub) Bumiller
|
8465f98f37
|
vtos should use the same quotes as we use in qc source
|
2012-08-23 10:18:59 +02:00 |
|
Wolfgang (Blub) Bumiller
|
7e3ccf4626
|
MUL_VF and MUL_FV get their special life-range handling
|
2012-08-22 18:51:32 +02:00 |
|
Wolfgang (Blub) Bumiller
|
8b90fcf482
|
commenting on the quirks of MUL_VF and MUL_FV in gmqcc.h's instruction list
|
2012-08-22 18:34:48 +02:00 |
|
Wolfgang (Blub) Bumiller
|
defb0fb6c4
|
using %i for instruction opcode output is a little more consistent with the above data, so you can quickly spot if an operand is a local or something else
|
2012-08-22 18:27:49 +02:00 |
|
Wolfgang (Blub) Bumiller
|
ab714862d6
|
committing gmqcc.h for previous exec.c commit: qc_program gets .xflags
|
2012-08-22 17:49:25 +02:00 |
|
Wolfgang (Blub) Bumiller
|
b93125c678
|
cut off too-long strings in disassembly
|
2012-08-22 17:41:24 +02:00 |
|
Wolfgang (Blub) Bumiller
|
aa314ed147
|
when using -trace in qcvm: print a newline after every print that doesn't end in a newline, so that the next disassembled instruction doesn't appear mid-text
|
2012-08-22 17:37:22 +02:00 |
|
Wolfgang (Blub) Bumiller
|
be18550b02
|
Nicer -trace output in qcvm/exec
|
2012-08-22 17:32:57 +02:00 |
|
Wolfgang (Blub) Bumiller
|
ef3e7231bd
|
it's SUB_V not DUB_V
|
2012-08-22 17:32:42 +02:00 |
|
Wolfgang (Blub) Bumiller
|
9296257c71
|
fix the functiondef's .locals...
|
2012-08-22 16:29:27 +02:00 |
|
Wolfgang (Blub) Bumiller
|
5d884bcb45
|
for liferange calc: the block we start from must tart with an empty set of living values
|
2012-08-22 16:20:26 +02:00 |
|
Wolfgang (Blub) Bumiller
|
eb86a3d7a3
|
fixing some debug output
|
2012-08-22 16:19:56 +02:00 |
|
Wolfgang (Blub) Bumiller
|
b2efef9be2
|
more info with -dump
|
2012-08-22 16:04:06 +02:00 |
|
Wolfgang (Blub) Bumiller
|
0b01944d54
|
qc_vlen, and adding numbers to all builtins for clarity
|
2012-08-22 15:39:15 +02:00 |
|
Wolfgang (Blub) Bumiller
|
ce956fa0fb
|
error builtin to bail out, pawn now _always_ nulls the new entity data
|
2012-08-22 15:35:28 +02:00 |
|
Wolfgang (Blub) Bumiller
|
77e5807a83
|
memvector resize needs to set _count as well
|
2012-08-22 15:24:24 +02:00 |
|
Wolfgang (Blub) Bumiller
|
6cbc0a84d7
|
Mask out "MEM" debug messages when -memchk wasn't used
|
2012-08-22 15:18:11 +02:00 |
|
Wolfgang (Blub) Bumiller
|
9284c41d0a
|
add ticks around vector strings created by vtos
|
2012-08-22 15:04:37 +02:00 |
|
Wolfgang (Blub) Bumiller
|
9433f66a00
|
vtos builtin
|
2012-08-22 15:03:49 +02:00 |
|
Wolfgang (Blub) Bumiller
|
d4077f6884
|
Have the parser generate immediates AFTER generating the globals for correct def layout
|
2012-08-22 14:20:28 +02:00 |
|
Wolfgang (Blub) Bumiller
|
f6e5396f9f
|
First generate the globals, then the fields, so the defs have the correct layout for quake
|
2012-08-22 14:15:49 +02:00 |
|
Wolfgang (Blub) Bumiller
|
cafa78d430
|
-printdefs for qcvm
|
2012-08-22 14:15:35 +02:00 |
|
Wolfgang (Blub) Bumiller
|
93e13c3cb1
|
option: -force-crc=number, added -info to executor to just show some file info like the crc, and -printfields to print a list of fields along with their type and position
|
2012-08-22 14:00:57 +02:00 |
|
Wolfgang (Blub) Bumiller
|
330a801ae9
|
Pop off all the locals after a function
|
2012-08-22 12:59:52 +02:00 |
|