Wolfgang (Blub) Bumiller
|
060f995ca4
|
removing ir_function_get_local - it's unused
|
2012-11-25 13:33:00 +01:00 |
|
Wolfgang (Blub) Bumiller
|
613e1e7247
|
Change the parser to use the hashtable functions
|
2012-11-25 13:23:37 +01:00 |
|
Dale Weiler
|
9c0231a58e
|
Some hashtable changes
|
2012-11-24 21:46:28 +00:00 |
|
Dale Weiler
|
32c928ab6d
|
You made substantial changes to this file, you get a name :P
|
2012-11-24 21:23:21 +00:00 |
|
Dale Weiler
|
5c0a62be96
|
Add respective license headers + some cleanups
|
2012-11-24 21:22:35 +00:00 |
|
Dale Weiler
|
f454a9f9cd
|
Whitespace
|
2012-11-24 20:33:03 +00:00 |
|
Dale Weiler
|
8bce855f0b
|
Set correct macro for PP based on the selected standard
|
2012-11-24 00:37:36 +00:00 |
|
Dale Weiler
|
3dbe54f0cd
|
Implemented -W? and -f? as aliases to -Whelp and -fhelp
|
2012-11-24 00:29:30 +00:00 |
|
Dale Weiler
|
4f00824104
|
Implemented -show-defaults
|
2012-11-24 00:26:51 +00:00 |
|
Wolfgang (Blub) Bumiller
|
d09ccba5d6
|
-Wdouble-declaration on by default
|
2012-11-23 23:44:35 +01:00 |
|
Wolfgang (Blub) Bumiller
|
86f3ef2194
|
turn the message about global variable double-declaration into a warning instead of an error on std != gmqcc
|
2012-11-23 22:30:35 +01:00 |
|
Wolfgang (Blub) Bumiller
|
39b8b6a660
|
warn about double function declarations...
|
2012-11-23 22:22:22 +01:00 |
|
Wolfgang (Blub) Bumiller
|
5897f0439c
|
A nice internal error
|
2012-11-23 22:15:17 +01:00 |
|
Wolfgang (Blub) Bumiller
|
2bc99076cf
|
'var' is now no keyword anymore, :\
|
2012-11-23 22:07:35 +01:00 |
|
Wolfgang (Blub) Bumiller
|
1c7e9c5fde
|
handling 'const' - still need correct separation of constant and just initialized later when we distinguish between them
|
2012-11-23 21:52:16 +01:00 |
|
Wolfgang (Blub) Bumiller
|
e3c1244687
|
preserve newlines in preprocessed multiline comments
|
2012-11-23 21:47:00 +01:00 |
|
Wolfgang (Blub) Bumiller
|
6df6906ed2
|
Adding an unrecognized keywords error
|
2012-11-23 21:41:50 +01:00 |
|
Wolfgang (Blub) Bumiller
|
ab55673c35
|
Fix a very nasty bug in the lexer's handling of comments
|
2012-11-23 21:35:14 +01:00 |
|
Dale Weiler
|
9bb80788d8
|
Merge branch 'master' of github.com:graphitemaster/gmqcc
|
2012-11-23 20:06:11 +00:00 |
|
Dale Weiler
|
9d677bab7c
|
Added comment about hashtable
|
2012-11-23 20:05:53 +00:00 |
|
Wolfgang (Blub) Bumiller
|
74fce32233
|
relation operation in #if just as wrong as in fteqcc
|
2012-11-23 21:05:07 +01:00 |
|
Dale Weiler
|
6e047ec65b
|
No copy, just store pointer for hash table
|
2012-11-23 20:01:58 +00:00 |
|
Wolfgang (Blub) Bumiller
|
58c87ac328
|
Enforce a trailing nul-byte after preprocessing
|
2012-11-23 19:34:24 +01:00 |
|
Wolfgang (Blub) Bumiller
|
85e98e9f53
|
Don't ftepp_warn after destroying the lexer...
|
2012-11-23 19:30:02 +01:00 |
|
Wolfgang (Blub) Bumiller
|
37eaaa76f9
|
Look for include files in the currently #included file's directory first
|
2012-11-23 19:29:45 +01:00 |
|
Wolfgang (Blub) Bumiller
|
4a3921fcb9
|
Let's #define GMQCC by default
|
2012-11-23 19:13:09 +01:00 |
|
Wolfgang (Blub) Bumiller
|
f6b7ddf72b
|
Don't delete the ftepp prematurely
|
2012-11-23 15:03:10 +01:00 |
|
Wolfgang (Blub) Bumiller
|
498cbf6fa5
|
ftepp_out can return a nullptr
|
2012-11-23 14:59:56 +01:00 |
|
Wolfgang (Blub) Bumiller
|
0d33939b1b
|
operator &~=
|
2012-11-23 14:39:05 +01:00 |
|
Wolfgang (Blub) Bumiller
|
122e80cc4d
|
operators &= and |=
|
2012-11-23 14:28:11 +01:00 |
|
Wolfgang (Blub) Bumiller
|
553f3df5df
|
*= and /= operators
|
2012-11-23 14:24:58 +01:00 |
|
Wolfgang (Blub) Bumiller
|
5867167a70
|
Fixing operator precedence of suffices
|
2012-11-23 12:32:07 +01:00 |
|
Wolfgang (Blub) Bumiller
|
448d4ebd75
|
operator tests
|
2012-11-23 12:29:52 +01:00 |
|
Wolfgang (Blub) Bumiller
|
1223e04e05
|
correcting an error message
|
2012-11-23 12:28:51 +01:00 |
|
Wolfgang (Blub) Bumiller
|
f22f1af891
|
Suffix operators, and remembering the const-float-1 in parser_t
|
2012-11-23 12:25:13 +01:00 |
|
Wolfgang (Blub) Bumiller
|
4079835c7e
|
Parsing of suffix operators, NOTE: applied like prefix operators just to get it committed in a compilable state
|
2012-11-23 11:57:08 +01:00 |
|
Wolfgang (Blub) Bumiller
|
38f5090778
|
Prefix ++,--
|
2012-11-23 11:52:03 +01:00 |
|
Wolfgang (Blub) Bumiller
|
9a43eb6370
|
a type_name -> ast_type_to_string conversion
|
2012-11-23 11:45:22 +01:00 |
|
Wolfgang (Blub) Bumiller
|
3f805fdde9
|
-std=fteqcc gets its own operator list
|
2012-11-23 11:45:07 +01:00 |
|
Dale Weiler
|
e25e83b14c
|
Visual studio __forceinline can be used for GMQCC_INLINE
|
2012-11-23 06:48:54 +00:00 |
|
Dale Weiler
|
c748293ccb
|
Use memcmp for comparing doubles
|
2012-11-23 06:41:06 +00:00 |
|
Dale Weiler
|
46fff99fad
|
ast_binstore_codegen initialize left ir value to null for output left side used for lvalue to prevent clang from warning. Also fixed uninitialized bug in hashtable implementation
|
2012-11-23 06:26:19 +00:00 |
|
Dale Weiler
|
81bb87c49b
|
Sign conversion fixes in exec.c
|
2012-11-23 06:23:20 +00:00 |
|
Dale Weiler
|
f4edbe2165
|
Cleanups
|
2012-11-23 06:17:21 +00:00 |
|
Dale Weiler
|
9e3399df19
|
Implemented hashtable as-per Blubs request
|
2012-11-23 06:12:01 +00:00 |
|
Dale Weiler
|
02a933b808
|
Wall was already there, changed pedantic, into pedantic-errors
|
2012-11-23 02:31:02 +00:00 |
|
Dale Weiler
|
20d65da321
|
change choice of diagnostics for ftepp to use lex_ctx instance. Cleaned up C++ style comments, and some other things ...
|
2012-11-23 02:29:01 +00:00 |
|
Dale Weiler
|
b5507b3127
|
Make it compile with -Wall and -pedantic
|
2012-11-23 02:23:22 +00:00 |
|
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 |
|