Wolfgang (Blub) Bumiller
|
415816e4dc
|
string-literals now do not treat digraphs as digraphs
|
2012-11-01 14:05:14 +01:00 |
|
Wolfgang (Blub) Bumiller
|
90419eb13c
|
A comment/note/hint about how to deal with not-yet declared things later in past-0.2
|
2012-10-31 18:55:03 +01:00 |
|
Wolfgang (Blub) Bumiller
|
951c37cc71
|
invalid-assign testcase for non-lvalue stores
|
2012-10-30 21:21:23 +01:00 |
|
Wolfgang (Blub) Bumiller
|
0fedee8312
|
If parser_finish fails, the exit-value must also indicate an error
|
2012-10-30 21:20:06 +01:00 |
|
Wolfgang (Blub) Bumiller
|
62f55d5155
|
Error when lvalues are requested where that's not possible
|
2012-10-30 21:15:42 +01:00 |
|
Wolfgang (Blub) Bumiller
|
0ca2807096
|
Actually use a di-graph in the ngraph test, and replaced the curly braces and the builgin-# sign
|
2012-10-29 14:47:11 +01:00 |
|
Wolfgang (Blub) Bumiller
|
aff3cbbaa8
|
di/trigraph testcase
|
2012-10-29 14:36:05 +01:00 |
|
Wolfgang (Blub) Bumiller
|
bd739528ad
|
ast_call_check_types should not check more parameters than actually available in both the call and the function type - fixes a crash introduced by this on variadic functions
|
2012-10-29 14:35:50 +01:00 |
|
Wolfgang (Blub) Bumiller
|
6126db10df
|
digraphs
|
2012-10-29 13:56:00 +01:00 |
|
Wolfgang (Blub) Bumiller
|
e6cebc3ea3
|
trigraphs
|
2012-10-29 13:52:39 +01:00 |
|
Wolfgang (Blub) Bumiller
|
18272f9f34
|
Pulling in a rudimentary testsuite - we have to find a better solution ...
|
2012-10-28 19:34:39 +01:00 |
|
Wolfgang (Blub) Bumiller
|
2fa544f681
|
Error when trying to assign variables whose types are different - with -std=qcc only warn when they are both functions with non-matching parameter types
|
2012-10-28 20:32:13 +01:00 |
|
Wolfgang (Blub) Bumiller
|
8ed6676d0f
|
-Wassign-function-types - since in qcc you may assign functionpointers which take different parameters...
|
2012-10-28 20:31:35 +01:00 |
|
Wolfgang (Blub) Bumiller
|
f56c5f425a
|
ast_type_to_string function
|
2012-10-28 20:30:55 +01:00 |
|
Wolfgang (Blub) Bumiller
|
90571a6151
|
ast_store needs to take over the type of its destination
|
2012-10-28 20:02:57 +01:00 |
|
Wolfgang (Blub) Bumiller
|
cd8043fc18
|
a failing 'parse-statement' call should not print 'parse error' at all since at that point more descriptive error message has to have been printed already
|
2012-10-28 15:53:30 +01:00 |
|
Wolfgang (Blub) Bumiller
|
634a544dca
|
The proper way to deal with error messages which did not cause the parser to bail out early is this, not a 'parse error'-error...
|
2012-10-28 15:48:51 +01:00 |
|
Wolfgang (Blub) Bumiller
|
478a9249a0
|
add error for function parameters of invalid types
|
2012-10-28 15:44:27 +01:00 |
|
Wolfgang (Blub) Bumiller
|
201bfb9803
|
When erroring while parsing a function and the function had been added to the parser's function list, remove it, otherwise it'll get freed again in the parser's cleanup function
|
2012-10-28 15:28:39 +01:00 |
|
Wolfgang (Blub) Bumiller
|
921bbd7a8a
|
Remove the -benchmark option+code
|
2012-10-27 15:33:37 +02:00 |
|
Wolfgang (Blub) Bumiller
|
5adc3fd9c1
|
Don't forget to set the _alloc in vector resize, also set _alloc back in _append if mem_a had failed
|
2012-10-09 20:56:54 +02:00 |
|
Dale Weiler
|
bbdba9b8d7
|
some awesome documentation about CRC for future viewers
|
2012-10-02 12:06:25 -04:00 |
|
Wolfgang (Blub) Bumiller
|
c024cbaaa0
|
Add the actual crc implementation
|
2012-10-02 17:56:59 +02:00 |
|
Wolfgang (Blub) Bumiller
|
4f0d573275
|
leaving the old crc in, commented out
|
2012-10-02 17:54:19 +02:00 |
|
Wolfgang (Blub) Bumiller
|
5dd8e23dfd
|
Cleaner crc implementation
|
2012-10-02 17:51:03 +02:00 |
|
Wolfgang (Blub) Bumiller
|
354dd94b95
|
Generating checksums
|
2012-10-02 17:09:49 +02:00 |
|
Wolfgang (Blub) Bumiller
|
9a1ec9aaa3
|
code_crc added, initializing to 0
|
2012-10-02 16:01:35 +02:00 |
|
Wolfgang (Blub) Bumiller
|
9d70c3a56e
|
Print a warning if end_sys_fields was declared as a field rather than a global
|
2012-10-02 15:59:37 +02:00 |
|
Wolfgang (Blub) Bumiller
|
4742ee9123
|
don't warn about unused end_sys_{globals,fields}
|
2012-10-02 15:35:43 +02:00 |
|
Wolfgang (Blub) Bumiller
|
984d8e7adc
|
link with $(LIBS), so on linux you can easily add -lrt without changing the Makefile
|
2012-10-02 15:35:31 +02:00 |
|
Wolfgang (Blub) Bumiller
|
aca5e05173
|
removing some old unused stuff from lexer.h
|
2012-08-24 23:21:16 +02:00 |
|
Wolfgang (Blub) Bumiller
|
d3c76dc819
|
forgot to put the -Werror in --help into the actual print parameter...
|
2012-08-24 23:18:44 +02:00 |
|
Wolfgang (Blub) Bumiller
|
1420bee49b
|
remove unimplemented -f flags from --help, add the implemented one
|
2012-08-24 23:03:52 +02:00 |
|
Wolfgang (Blub) Bumiller
|
8a5dd1455a
|
Add -Werror to the --help message
|
2012-08-24 23:02:27 +02:00 |
|
Wolfgang (Blub) Bumiller
|
f6ad0e0238
|
alignment fix
|
2012-08-24 23:01:18 +02:00 |
|
Wolfgang (Blub) Bumiller
|
a002041ec2
|
-benchmark option to take the time in a rather simple way
|
2012-08-24 23:00:47 +02:00 |
|
Wolfgang (Blub) Bumiller
|
b22f149d9e
|
etos builtin...
|
2012-08-24 22:58:07 +02:00 |
|
Wolfgang (Blub) Bumiller
|
6aefb22c74
|
ir_builder_delete now causes the ..._delete_quick functions to be used which will skip the removal of references: ir_value's won't have their read/write references removed by ir_instr_delete_quick
|
2012-08-24 20:39:47 +02:00 |
|
Wolfgang (Blub) Bumiller
|
b2315777d1
|
cache the IMMEDIATE string in the builder directly
|
2012-08-24 19:52:06 +02:00 |
|
Wolfgang (Blub) Bumiller
|
1fc8c2f697
|
copy the function context over to its ir_value as well
|
2012-08-24 19:49:12 +02:00 |
|
Wolfgang (Blub) Bumiller
|
74cb075665
|
cache filenames as such instead of using code_cachedstring
|
2012-08-24 19:44:29 +02:00 |
|
Wolfgang (Blub) Bumiller
|
bdffa662b6
|
not using cachedstring on generated string values anymore, it's not the IR's job
|
2012-08-24 19:08:33 +02:00 |
|
Wolfgang (Blub) Bumiller
|
1d851a1400
|
fixing token-reset in modelname
|
2012-08-24 18:23:35 +02:00 |
|
Wolfgang (Blub) Bumiller
|
04dca17cff
|
ir_value now checks if a name was specified
|
2012-08-24 18:14:39 +02:00 |
|
Wolfgang (Blub) Bumiller
|
8e990b65f3
|
Not labeling temps/blocks if opts_dump isn't specified
|
2012-08-24 18:10:41 +02:00 |
|
Wolfgang (Blub) Bumiller
|
7fec608417
|
better labelling in ast_function_labeling, this time the number is even printed forward rather than backward... ;)
|
2012-08-24 18:08:28 +02:00 |
|
Wolfgang (Blub) Bumiller
|
2524d9c31b
|
ir: don't require a label on a block
|
2012-08-24 18:03:57 +02:00 |
|
Wolfgang (Blub) Bumiller
|
ab91dea4e0
|
the lexer now doesn't _allocate_ the token structure, also: the vector holding the token doesn't shrink so we have much fewer reallocations
|
2012-08-24 17:37:55 +02:00 |
|
Wolfgang (Blub) Bumiller
|
20b8a191b1
|
parse_variable refactored, moved out the parsing of function bodies, easier memory handling
|
2012-08-24 17:23:47 +02:00 |
|
Wolfgang (Blub) Bumiller
|
e1155eebc2
|
renaming some parser functions, mainly shortining things: parse_type just looks much better than parser_parse_type...
|
2012-08-24 15:34:48 +02:00 |
|