mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
An Improved Quake C Compiler
97a74eb677
These kinds of expressions currently cannot be handled without pionter support in the qcvm without scanning the ast from within ast_member::codegen for an assignments as seen in the added test case. This change makes code like that return a pointer type which will cause an error that we did not get a vector or field back. With pointer support this pointer could actually be used instead. So at least it shouldn't silently produce broken code anymore. Signed-off-by: Wolfgang Bumiller <wry.git@bumiller.com> |
||
---|---|---|
doc | ||
misc | ||
tests | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
algo.h | ||
ast.cpp | ||
ast.h | ||
AUTHORS | ||
CMakeLists.txt | ||
code.cpp | ||
conout.cpp | ||
exec.cpp | ||
fold.cpp | ||
fold.h | ||
ftepp.cpp | ||
gmqcc.h | ||
gmqcc.ini.example | ||
intrin.cpp | ||
intrin.h | ||
ir.cpp | ||
ir.h | ||
lexer.cpp | ||
lexer.h | ||
LICENSE | ||
main.cpp | ||
Makefile | ||
opts.cpp | ||
opts.def | ||
parser.cpp | ||
parser.h | ||
README | ||
stat.cpp | ||
test.cpp | ||
utf8.cpp | ||
util.cpp |
An improved QuakeC compiler