Commit graph

2697 commits

Author SHA1 Message Date
Wolfgang Bumiller
5887afae62 copying the output type on ast_array_index_codegen 2013-01-12 15:49:04 +01:00
Wolfgang Bumiller
a01388ea7d Copying arg counter into the local 2013-01-12 15:06:19 +01:00
Wolfgang Bumiller
57c0a09800 Creating the argument counter if requested 2013-01-12 14:59:30 +01:00
Wolfgang Bumiller
175623592b updated CHANGES file 2013-01-12 14:54:11 +01:00
Wolfgang Bumiller
e149551744 Added '...(idx,type)' to access varargs 2013-01-12 14:53:48 +01:00
Wolfgang Bumiller
cd543aad5e added gen_function_varargs_copy 2013-01-12 14:48:56 +01:00
Wolfgang Bumiller
e8b5ad6625 mask -Olocal-temps by IR_FLAG_MASK_NO_LOCAL_TEMPS which now equals IR_FLAG_MASK_NO_OVERLAP - though HAS_ARRAYS usually suffices, but not for code which _depends_ on uninitialized variables 2013-01-12 14:03:54 +01:00
Wolfgang Bumiller
2a4ea74a97 ir_function stores max_varargs now 2013-01-12 14:01:16 +01:00
Wolfgang Bumiller
1861660585 builtins are generally not declared const, so don't expect CV_CONST, otherwise we write out va_count for builtin calls as well... 2013-01-12 13:52:42 +01:00
Wolfgang Bumiller
c10d127fd7 While at it: moving generation of reserved:version to just before the functions so no global/immedate is generated _after_ it - at least from the parser's point of view 2013-01-12 13:49:06 +01:00
Wolfgang Bumiller
d78997599a create store to reserved:va_count; fix: don't build vararg accessor ast tree after generating immediates as they create new ones 2013-01-12 13:47:56 +01:00
Wolfgang Bumiller
973122ed9b ast_call now has a va_count which causes a store to reserved:va_count before the call 2013-01-12 13:29:47 +01:00
Wolfgang Bumiller
6dfdf69a8e vararg accessor generation 2013-01-12 13:01:20 +01:00
Wolfgang Bumiller
c69ba2c734 parsing of vararg-counter 2013-01-12 11:29:03 +01:00
Wolfgang Bumiller
87ff481abf updated CHANGES file 2013-01-12 11:11:31 +01:00
Wolfgang Bumiller
6a248e2498 type restricted varargs 2013-01-12 11:10:29 +01:00
Wolfgang Bumiller
ca947d782c Declaration of type-restricted varargs 2013-01-12 11:03:17 +01:00
Wolfgang Bumiller
2f9db8972e keep track of the highest parameter count of calls for later for varargs 2013-01-12 10:58:01 +01:00
Wolfgang Bumiller
3429e7d0cb 'static' shouldn't be accepted in the global scope for now 2013-01-12 10:52:18 +01:00
Wolfgang Bumiller
30eac57199 filling type_name in exec.c 2013-01-11 23:15:16 +01:00
Wolfgang Bumiller
5bb4e40c72 code cleanup: prog_tempstring used to cast const char * parameter to char * due to the old vector code which is now gone 2013-01-11 23:13:36 +01:00
Wolfgang Bumiller
7bab7fc42e fixing CHANGES: this actually was not part of 0.2 2013-01-11 23:12:00 +01:00
Wolfgang Bumiller
d6ffcbb8fc CHANGES file updated 2013-01-11 23:10:41 +01:00
Wolfgang Bumiller
199ed6c31f Fix a typo - why the hell does clang not complain? Why the hell does it even compile with clang... 2013-01-11 20:04:46 +01:00
Wolfgang Bumiller
5231279113 manpage: --add-info 2013-01-11 19:23:03 +01:00
Wolfgang Bumiller
3436fa7d89 added the --add-info compile switch: it adds a global const string named version to the 'reserved' namespace, ie ends up named 'reserved:version', containing the --version string 2013-01-11 19:18:51 +01:00
Wolfgang Bumiller
6df3c625b0 Added a flag to both ast and ir which enforces the generation of a globaldef for a value 2013-01-11 19:15:59 +01:00
Wolfgang Bumiller
5ea710e317 In order to avoid release version strings in non-git builds, by default --version on non-tagged commits now also prints 'development build' as the 2nd line 2013-01-11 10:40:33 +01:00
Wolfgang Bumiller
88cfa53dc2 replacing an error message in the enum parsing 2013-01-10 22:08:49 +01:00
Dale Weiler
0d9144eeff mention CHANGES in README 2013-01-10 20:52:23 +00:00
Dale Weiler
f6197a965c Better enumeration test 2013-01-10 20:50:42 +00:00
Wolfgang Bumiller
4a063d3518 enum testcase 2013-01-10 21:38:32 +01:00
Dale Weiler
0da4626417 will warn about "check" no such file or directory (since it aliases in the rule for the Makefile) 2013-01-10 20:28:53 +00:00
Wolfgang Bumiller
fa90d2d06e correction fix: don't try to create edits for an empty string 2013-01-10 21:09:44 +01:00
Wolfgang Bumiller
0616bb9468 CHANGES file updated 2013-01-10 21:05:10 +01:00
Wolfgang Bumiller
9c2bc7f381 Allow accessing vector components via the . operator, including components
of expressions, like: (3 * a_vector).y.
2013-01-10 21:03:35 +01:00
Wolfgang Bumiller
a474f20b84 CHANGES file updated 2013-01-10 19:59:01 +01:00
Wolfgang Bumiller
aa8b9eb1ad parse_expression_leave: also end at a closing } - enum: check for } and , after an expression again 2013-01-10 18:52:43 +01:00
Wolfgang Bumiller
a468d0b478 simple 'enum' implementation 2013-01-10 18:38:57 +01:00
Wolfgang Bumiller
1c1ea1d0f7 strictness sweep: (void)-ing all vec_ macros which don't evaluate to a sensible value 2013-01-10 18:26:35 +01:00
Wolfgang Bumiller
101cb09e91 git package is now named gmqcc-git, also added conflicts/provides 2013-01-10 16:31:01 +01:00
Wolfgang Bumiller
f69f2c2ece the -git PKGBUILD needs 'git' as makedepends according to the guidelines on the arch wiki 2013-01-10 16:25:36 +01:00
Wolfgang Bumiller
16ccaffc3f checking if git even is available 2013-01-10 16:13:47 +01:00
Wolfgang Bumiller
7a5a328c54 --version now prints GMQCC_GITINFO, which is not not defined in gmqcc.h to some empty string, it just won't exist in release builds 2013-01-10 16:07:33 +01:00
Wolfgang Bumiller
f06a59e3c7 Fix a warning 2013-01-10 16:04:58 +01:00
Wolfgang Bumiller
ffba3429fb This file seems to live in the past. Let's pull it over 2013-01-10 15:55:58 +01:00
Wolfgang Bumiller
cf676443cb manpage: updating the section about nil vs fteqcc-__NULL__ 2013-01-10 15:41:36 +01:00
Wolfgang Bumiller
81cc4194dc fixed a bug which allowed some statements to end in tokens other than semicolons... (ie closing parens) 2013-01-10 15:23:04 +01:00
Wolfgang Bumiller
428453a132 for compile-time constants << and >> are now available 2013-01-10 15:12:19 +01:00
Wolfgang Bumiller
06101d48e4 manpage: A note about __NULL__ vs nil 2013-01-09 21:54:36 +01:00