quakeforge/tools/qfcc/source
Bill Currie 1779a124c5 expr.h:
nuke the ex_statement and estatement_[st] stuff
	add label_expr prototype
expr.c:
	ex_statement nukage
	correct new_expr's decl
	add label_expr to ease label creation
	don't crash when printing a null expression (bare return)
qc-parse.y:
	estatement_t nukage
	statement statements and statement_block are type expr
	generate `expressions' for statements

a full parse tree for each function is now generated. there are several
special expression opcodes for statements:
	d	done    \
	r	return  -> unary: expression to return or null
	i	if      binary:   evaluated expression, destination label
	n	ifnot   binary:   evaluated expression, destination label
	c	call    binary:   function def, args (expr list, rev order)
	s	state   binary:   frame const, function def
	g	goto    unary:    destination label
	l	label   unary:    label number
in a top level expression, l (label) defines the label, otherwise it is a
reference.
2001-06-25 20:52:04 +00:00
..
.gitignore getting closer. soon timie to start putting real code in there 2001-06-12 21:06:28 +00:00
.indent.pro QFCC -- the QuakeForge Code Compiler -- an autoconfiscated qcc. 2001-02-24 06:58:54 +00:00
cmdlib.c rename filelength to FileLength to avoid a name clash in windows 2001-06-16 04:27:22 +00:00
expr.c expr.h: 2001-06-25 20:52:04 +00:00
Makefile.am make usage of the new parser easier to configure 2001-06-25 18:22:53 +00:00
pr_comp.c make initialized local variables work /properly/ 2001-06-08 20:13:10 +00:00
pr_def.c qfcc.h: 2001-06-20 03:05:50 +00:00
pr_imm.c Immidiate sharing now /works/ (shaved off two pr_globals from CustomTF, too:). 2001-06-08 06:32:15 +00:00
pr_lex.c add support for \<, \>, and \^ to qfcc. \< bolds all characters (toggles bold really) until \>, and \^ bolds (toggles) the next character. 2001-06-19 23:27:07 +00:00
pr_opcode.c miss tagged string != string 2001-06-12 15:29:05 +00:00
qc-lex.l expr.h: 2001-06-25 17:15:56 +00:00
qc-parse.y expr.h: 2001-06-25 20:52:04 +00:00
qfcc.c make usage of the new parser easier to configure 2001-06-25 18:22:53 +00:00