Commit graph

2211 commits

Author SHA1 Message Date
Dale Weiler
af2324e922 Fix getline 2012-11-22 22:11:53 +00:00
Wolfgang (Blub) Bumiller
a4198fc27e Fixing the makefile - stop adding pointless defaults 2012-11-22 23:11:29 +01:00
Wolfgang (Blub) Bumiller
fafc755274 Fixing up ast_binstore_codegen to handle array updates 2012-11-22 22:42:47 +01:00
Dale Weiler
fcc57a1185 Fix memory leaks 2012-11-22 21:38:14 +00:00
Dale Weiler
59e81eeb7f Remove some disabled warnings from the makefile 2012-11-22 20:46:38 +00:00
Wolfgang (Blub) Bumiller
905ca8819b unused params in parser.c 2012-11-22 21:44:09 +01:00
Wolfgang (Blub) Bumiller
facd89b188 unsed params in ftepp.c 2012-11-22 21:42:14 +01:00
Wolfgang (Blub) Bumiller
e6443496e7 Fix unused params in ir.c 2012-11-22 21:41:22 +01:00
Wolfgang (Blub) Bumiller
ed53040907 Fix unused parameters in ast.c 2012-11-22 21:39:30 +01:00
Dale Weiler
baf69f3725 Fix more warnings 2012-11-22 20:32:08 +00:00
Wolfgang (Blub) Bumiller
04665a9c94 conversion warnings and sanity check 2012-11-22 21:25:02 +01:00
Dale Weiler
6ea37089fa Fix some casting stuff 2012-11-22 20:16:34 +00:00
Wolfgang (Blub) Bumiller
a8b31be328 Fixing a shadowing in ir.c 2012-11-22 21:12:15 +01:00
Wolfgang (Blub) Bumiller
dfde3a583c Remove unused macro 2012-11-22 21:10:37 +01:00
Wolfgang (Blub) Bumiller
55915b5217 initialize some values 2012-11-22 21:10:34 +01:00
Wolfgang (Blub) Bumiller
07d5686a47 Fixing shadows in parser.c - moving generate_checksum over the static parser global 2012-11-22 20:47:46 +01:00
Wolfgang (Blub) Bumiller
b771695e0d Fixing shadows in lexer.c 2012-11-22 20:46:13 +01:00
Wolfgang (Blub) Bumiller
a87bc6a575 Removing unused _tokennames from lexer.h 2012-11-22 20:42:55 +01:00
Wolfgang (Blub) Bumiller
f6129ea4e4 Fixing main.c shadows 2012-11-22 20:42:44 +01:00
Wolfgang (Blub) Bumiller
968397da61 Fixing clang-warnings about vectors 2012-11-22 20:42:32 +01:00
Wolfgang (Blub) Bumiller
2f672cce1d Adding short-logic testcase 2012-11-22 20:32:40 +01:00
Wolfgang (Blub) Bumiller
f719a81e2a Fixing short-logic for 'if': it wanted to add the jump to the wrong block 2012-11-22 20:29:55 +01:00
Wolfgang (Blub) Bumiller
014ae1425e Test for extended parameters 2012-11-22 19:36:45 +01:00
Wolfgang (Blub) Bumiller
c5f8fbb871 Collapsing the switch tests into 1 2012-11-22 19:28:45 +01:00
Wolfgang (Blub) Bumiller
c0d46ba893 drop the E line from break.tmpl 2012-11-22 19:28:38 +01:00
Wolfgang (Blub) Bumiller
0500181327 Collapse the break tests into 1 2012-11-22 19:25:45 +01:00
Dale Weiler
fed86b73fd oops 2012-11-22 18:14:03 +00:00
Dale Weiler
6a8494f21b Merge branch 'master' of github.com:graphitemaster/gmqcc 2012-11-22 18:13:12 +00:00
Dale Weiler
79bac33a40 Remove requirement for E 2012-11-22 18:12:47 +00:00
Wolfgang (Blub) Bumiller
ba9217e576 make ast_function_label also work when -dumpfin is used instead of -dump 2012-11-21 21:59:25 +01:00
Wolfgang (Blub) Bumiller
6983142c4d -dump vs -dumpfin; to see the IR before and after finalizing functions 2012-11-21 21:53:38 +01:00
Wolfgang (Blub) Bumiller
42135f1322 Escape strings in ir-dump output 2012-11-21 21:49:21 +01:00
Dale Weiler
2e3d572b53 Bump version 2012-11-21 20:33:52 +00:00
Dale Weiler
ec50d8508e Make blub happy 2012-11-21 20:31:41 +00:00
Dale Weiler
e7917d3225 Make makefile runtest rule depend on all to be built 2012-11-21 20:27:41 +00:00
Dale Weiler
1a5447ae8f less verbosity from test suite, just the way blub wants it 2012-11-21 20:26:18 +00:00
Wolfgang (Blub) Bumiller
e20184ae59 ast_ternary needs to adopt the output type 2012-11-21 20:57:00 +01:00
Wolfgang (Blub) Bumiller
9c8dc43775 error if the ternary operands aren't of the same type - except for the first one of course 2012-11-21 20:56:51 +01:00
Wolfgang (Blub) Bumiller
be52ca3879 More verbose error for invalid parameter types 2012-11-21 20:53:00 +01:00
Wolfgang (Blub) Bumiller
0787038934 check 'ternaries' count 2012-11-21 20:50:27 +01:00
Wolfgang (Blub) Bumiller
90bd91e294 Utilizing vec_last more 2012-11-21 20:44:43 +01:00
Wolfgang (Blub) Bumiller
5ec75a228e question mark must result in TOKEN_OPERATOR 2012-11-21 20:42:48 +01:00
Wolfgang (Blub) Bumiller
55c2148016 operator handling for ternary 2012-11-21 20:41:26 +01:00
Wolfgang (Blub) Bumiller
11f1af78d5 Removing some obsolete messages 2012-11-21 20:40:10 +01:00
Wolfgang (Blub) Bumiller
e0ddf32d2e parsing the ternary 2012-11-21 20:36:42 +01:00
Wolfgang (Blub) Bumiller
8517221b1b Inserting ternary in the qcc-operator-list at the place fteqcc would have it 2012-11-21 20:16:28 +01:00
Wolfgang (Blub) Bumiller
a7fb45f102 removed phi_out from ast_ternary since we have a place in ast_expression_common for this kind of value 2012-11-21 20:13:31 +01:00
Wolfgang (Blub) Bumiller
268ad7db53 Fix wrong merge_id 2012-11-21 19:55:12 +01:00
Wolfgang (Blub) Bumiller
de5592dfc5 -fperl-logic, off by default, so casting to boolean now 2012-11-21 19:40:11 +01:00
Wolfgang (Blub) Bumiller
ebc6954bf5 casting explicitly to boolean values in early out logic 2012-11-21 19:36:28 +01:00