Bill Currie
|
1db6225ae7
|
make - - - - -2 work
|
2001-07-06 04:54:08 +00:00 |
|
Bill Currie
|
4673d701c9
|
fix the conflicts caused by -ve constants
|
2001-07-06 04:29:12 +00:00 |
|
Jeff Teunissen
|
35f5118803
|
warning/error message cleanups. Well, at least *I* think they make more
sense. :)
|
2001-07-06 02:43:39 +00:00 |
|
Jeff Teunissen
|
605df6ebb6
|
Change the bashism $() back to ``
|
2001-07-05 21:15:08 +00:00 |
|
Bill Currie
|
b1f264b203
|
using qfpreqcc is now vewy vewy qwiet ('e's 'unting wabbits)
|
2001-07-03 21:17:02 +00:00 |
|
Bill Currie
|
05db0ed9d0
|
more format attributes
|
2001-07-03 20:56:01 +00:00 |
|
Bill Currie
|
1edf1e0b39
|
format checking for error and warning + needed fixes
try to give name of object when calling non-function
|
2001-07-03 20:53:49 +00:00 |
|
Bill Currie
|
ccc00b0608
|
fix segs on ondeclared identifiers
|
2001-07-03 20:42:07 +00:00 |
|
Bill Currie
|
8f04a482f0
|
#include foo/bar.qc now works
|
2001-06-29 16:14:47 +00:00 |
|
Bill Currie
|
1e6fc51421
|
time to enable the new parser by default.
|
2001-06-29 00:12:11 +00:00 |
|
Bill Currie
|
5a019e9321
|
don't need to print statement addresses any more
|
2001-06-29 00:05:34 +00:00 |
|
Bill Currie
|
f2bb7ace41
|
add an option (--warn=error) to treat warnings as errors
|
2001-06-28 23:15:10 +00:00 |
|
Bill Currie
|
9c2398d923
|
stop processing files after errors have occured
|
2001-06-28 23:08:52 +00:00 |
|
Bill Currie
|
6dfee9968b
|
/much/ better error handling
|
2001-06-28 21:26:40 +00:00 |
|
Bill Currie
|
eef9e8e2dc
|
be more accurate about the operator involved
|
2001-06-28 17:44:50 +00:00 |
|
Bill Currie
|
0271afbb10
|
warn about the dangers of (!foo & bar)
|
2001-06-28 15:20:31 +00:00 |
|
Bill Currie
|
01a9372add
|
fix the corrupted locals problem (df->locals was getting set too early)
|
2001-06-28 02:58:45 +00:00 |
|
Bill Currie
|
daf5fc96ea
|
reset temps after emitting a function. it helps :) (fixes the wierd entity
errors)
|
2001-06-27 23:36:03 +00:00 |
|
Bill Currie
|
dfdff6cc59
|
more testing and add traceon/traceoff to the builtins
|
2001-06-27 22:56:52 +00:00 |
|
Bill Currie
|
59ff35558f
|
create empty defs for vertex and quaternion compontents
|
2001-06-27 22:24:28 +00:00 |
|
Bill Currie
|
768c4a49d3
|
fix . type checking
|
2001-06-27 21:43:10 +00:00 |
|
Bill Currie
|
b285ab003d
|
more tests
|
2001-06-27 21:15:15 +00:00 |
|
Bill Currie
|
774a1fe6cd
|
fix // comments at end of file (ie, no trailing \n)
|
2001-06-27 20:47:41 +00:00 |
|
Bill Currie
|
9c30c0c455
|
make simple assignments (a = b;) generate code
|
2001-06-27 20:32:27 +00:00 |
|
Bill Currie
|
1eef491c1c
|
handle -ve constants
|
2001-06-27 19:40:43 +00:00 |
|
Bill Currie
|
1fd4590212
|
report file as well
|
2001-06-27 18:15:24 +00:00 |
|
Bill Currie
|
febb139a41
|
free temp defs at the end of each expr block. CustomTF has gone from 64 to 25
locals.
|
2001-06-27 17:11:21 +00:00 |
|
Bill Currie
|
9d2bf8df19
|
better function argument code generation
|
2001-06-27 16:43:56 +00:00 |
|
Bill Currie
|
1c54a3ddb7
|
why not?
|
2001-06-27 05:48:25 +00:00 |
|
Bill Currie
|
a35c049744
|
main.c:
give instruction address in opcode dump
main.qc:
more test code
|
2001-06-27 05:46:53 +00:00 |
|
Bill Currie
|
504d03a21a
|
expr.c:
fix a silly stanfu with goto
qc-parse.y:
suffle the debug code
|
2001-06-27 05:45:20 +00:00 |
|
Bill Currie
|
673e6e66b7
|
turns out qcc wasn't so stupid about = vs ||/&& precedence after all (just
my interpretation of the code was:/) why oh why didn't John use bison or yacc
in the first place? :/
|
2001-06-27 00:10:34 +00:00 |
|
Bill Currie
|
ff42e81127
|
remove some debug info
|
2001-06-26 23:51:15 +00:00 |
|
Bill Currie
|
c629de9b3b
|
function calls work now
|
2001-06-26 23:42:11 +00:00 |
|
Bill Currie
|
50ae388caa
|
initialisations now seem to work, including cows (mooOOoo:)
|
2001-06-26 22:43:28 +00:00 |
|
Bill Currie
|
c32bcb7262
|
immediates now seem to work
|
2001-06-26 22:07:09 +00:00 |
|
Bill Currie
|
ce2f26f0b9
|
lables are working, but immediates and function return values are borked
|
2001-06-26 21:32:22 +00:00 |
|
Bill Currie
|
5785b93107
|
implement branches and top level call
|
2001-06-26 20:06:56 +00:00 |
|
Bill Currie
|
19a7285f6c
|
implement state
|
2001-06-26 19:54:50 +00:00 |
|
Bill Currie
|
aee129ca7d
|
assignments now seem to work in that they no longer seg qfcc
|
2001-06-26 19:48:03 +00:00 |
|
Bill Currie
|
63ad87db68
|
return defs of the correct type
|
2001-06-26 17:34:21 +00:00 |
|
Bill Currie
|
69f869087b
|
oops
|
2001-06-26 16:24:11 +00:00 |
|
Bill Currie
|
d783a024b3
|
record an expression's line number and file and sort of handle state
expressions
|
2001-06-26 16:23:21 +00:00 |
|
Bill Currie
|
3242c04798
|
fix the redef error
|
2001-06-26 16:12:01 +00:00 |
|
Bill Currie
|
c1753046a9
|
start on actually generating code. doesn't work yet (getting a weird type
redeclaration error and not all expressions are handled yet).
|
2001-06-26 07:21:20 +00:00 |
|
Bill Currie
|
e99796c4cf
|
new expression type: ex_block. forms a linked list of expressions for fast
appending and ease of manipulation.
|
2001-06-26 03:33:01 +00:00 |
|
Bill Currie
|
749d460041
|
duplicate code cleanup
|
2001-06-26 02:46:02 +00:00 |
|
Bill Currie
|
3fa3ab59a9
|
clean up error reporting a little
|
2001-06-25 23:42:49 +00:00 |
|
Bill Currie
|
625915288c
|
hopefully make line directives work
|
2001-06-25 23:38:32 +00:00 |
|
Bill Currie
|
90b5c57266
|
fix lost initial char of string constants
make expression strings char * instead of string_t (don't put them into
pr_strings prematurely);
|
2001-06-25 22:53:15 +00:00 |
|