Commit graph

608 commits

Author SHA1 Message Date
Wolfgang Bumiller
ac26c2f2f2 Add -foverlap-locals - something we really should make possible 2012-07-28 14:48:02 +02:00
Wolfgang Bumiller
3072ce7eba Added handler for -W 2012-07-28 13:59:35 +02:00
Wolfgang Bumiller
d06cc6c2d1 Fixing a warning 2012-07-28 13:50:12 +02:00
Wolfgang Bumiller
244e6a0a4d Importing gmqcc.1 2012-07-28 13:47:14 +02:00
Wolfgang Bumiller
5e026dd62a Print out all the information parsed from the commandline 2012-07-28 13:20:06 +02:00
Wolfgang Bumiller
ddfd44e2a4 gcc style long option support and -std=foo added 2012-07-28 12:59:33 +02:00
Wolfgang Bumiller
3c462539a6 Commandline handling first draft 2012-07-28 12:36:20 +02:00
Wolfgang Bumiller
10d70328c8 executor: prog_delete: deleting builtins properly - unless statically allocated; added a qc_builtins array for the standalone executor containing 'print' 2012-07-27 19:27:56 +02:00
Wolfgang Bumiller
a3919a6074 Merge branch 'master' into blub/bc3 2012-07-27 19:18:21 +02:00
Wolfgang Bumiller
5f0a6bcc53 _MEM_ -> MEM_ again at use 2012-07-27 19:18:04 +02:00
Wolfgang Bumiller
b76ffe8304 Merging master with newly merged executor 2012-07-27 19:17:03 +02:00
Wolfgang Bumiller
f8b3081c44 Merging master and adapting _MEM_* on new mem-vector functions 2012-07-27 19:13:03 +02:00
Wolfgang Bumiller
975356cbce Merge branch 'master' into blub/bc3 2012-07-27 19:02:39 +02:00
Wolfgang Bumiller
81fd77da38 _MEM_... -> MEM_... 2012-07-27 19:02:18 +02:00
Wolfgang Bumiller
75812d486a Handling output file, writing output file 2012-07-27 18:22:39 +02:00
Wolfgang Bumiller
79753d05bd Handling vector constants now too 2012-07-27 16:20:53 +02:00
Wolfgang Bumiller
b88e25ed81 Handling string-immediates 2012-07-27 16:10:43 +02:00
Wolfgang Bumiller
ea09553b32 Merge branch 'master' into blub/bc3 2012-07-27 15:27:41 +02:00
Wolfgang Bumiller
42168fde00 removing an old comment 2012-07-27 15:27:34 +02:00
Wolfgang Bumiller
0a5e5c07e5 Adapting to changes of where parameters are stored in master 2012-07-27 15:26:48 +02:00
Wolfgang Bumiller
e417eb2b33 Merge branch 'master' into blub/bc3 2012-07-27 15:24:13 +02:00
Wolfgang Bumiller
2674982854 Moving parameters to from ast_value to ast_expression_common, it's part of the type after all 2012-07-27 15:22:39 +02:00
Wolfgang Bumiller
6379d39bb7 Starting some typechecking. Function parameters must be part of ast_expression_common, they're part of the type, not ast_value... 2012-07-27 15:07:25 +02:00
Wolfgang Bumiller
65f4f03aa5 Handling calls correctly now 2012-07-27 15:02:39 +02:00
Wolfgang Bumiller
c79bc784a3 Parsing function calls 2012-07-27 14:40:43 +02:00
Wolfgang Bumiller
64c230d222 Parsing a comma as an operator now - unless noop is true 2012-07-27 13:47:01 +02:00
Wolfgang Bumiller
3618d071ff fixing comma operator 2012-07-27 13:42:02 +02:00
Wolfgang Bumiller
f103544c95 Merge branch 'master' into blub/bc3 2012-07-27 13:40:34 +02:00
Wolfgang Bumiller
ab11808208 ast_block_set_type 2012-07-27 13:39:58 +02:00
Wolfgang Bumiller
e8b63575b2 keeping blocks around 2012-07-27 13:28:57 +02:00
Wolfgang Bumiller
6b85f3d370 factoring out the closing-paren handling code since it'll be used recursively 2012-07-27 13:07:16 +02:00
Wolfgang Bumiller
623046dda8 the comma is now in the operator list 2012-07-27 12:53:15 +02:00
Wolfgang Bumiller
f03bffc3ee opening paren and comma to the operator stack for function calls 2012-07-27 12:35:14 +02:00
Wolfgang Bumiller
b81b5d8c4d Removing some debug output 2012-07-27 12:28:14 +02:00
Wolfgang Bumiller
b70fd7e238 handle parameters in parser_find_local 2012-07-27 12:25:46 +02:00
Wolfgang Bumiller
a99972d7dd Parse named parameters of functions 2012-07-26 23:33:19 +02:00
Wolfgang Bumiller
5d766f60b2 parse ahead into the return expression as expected 2012-07-26 23:26:34 +02:00
Wolfgang Bumiller
e1c4600260 Listen to the warning instead... 2012-07-26 23:25:33 +02:00
Wolfgang Bumiller
b08de6ee5f Shutup a warning... 2012-07-26 23:24:36 +02:00
Wolfgang Bumiller
b22a76a152 Merge branch 'master' into blub/bc3 2012-07-26 23:24:12 +02:00
Wolfgang Bumiller
1f8ece7f20 ast_return_new doesn't take an operator, we use INSTR_RETURN always, never INSTR_DONE for explicit returns 2012-07-26 23:23:47 +02:00
Wolfgang Bumiller
22e6b8558b Merge branch 'master' into blub/bc3 2012-07-26 23:22:53 +02:00
Wolfgang Bumiller
a0d78e985c handling return 2012-07-26 23:22:51 +02:00
Wolfgang Bumiller
331c00dd50 return is a keyword 2012-07-26 23:18:15 +02:00
Wolfgang Bumiller
b4225ea98a INSTR_NOT_* output to opC not opB... 2012-07-26 22:11:46 +02:00
Wolfgang Bumiller
31ba1ec6c1 ast_return 2012-07-26 21:18:39 +02:00
Wolfgang Bumiller
e22d340e23 ast/ir support for unary instructions 2012-07-26 20:45:18 +02:00
Wolfgang Bumiller
308e24a4d9 Merge branch 'master' into blub/bc3 2012-07-22 12:35:29 +02:00
Wolfgang Bumiller
4255b143b0 Removed params from ast_function again. It really is superfluous to copy them, just generate them from its ast_value's param list 2012-07-22 12:35:10 +02:00
Wolfgang Bumiller
2bfd272714 Merge branch 'master' into blub/bc3 2012-07-22 12:22:33 +02:00