quakeforge/tools/qfcc/include
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 ignore .vimrc 2001-06-04 18:33:50 +00:00
Makefile.am QFCC -- the QuakeForge Code Compiler -- an autoconfiscated qcc. 2001-02-24 06:58:54 +00:00
cmdlib.h rename filelength to FileLength to avoid a name clash in windows 2001-06-16 04:27:22 +00:00
expr.h expr.h: 2001-06-25 20:52:04 +00:00
qfcc.h qfcc.h: 2001-06-20 03:05:50 +00:00
scope.h slowly getting there with defs processing. still borked 2001-06-18 22:51:49 +00:00