Commit graph

2890 commits

Author SHA1 Message Date
Wolfgang Bumiller
7e0d6bdd87 don't overwrite ldflags/libs env vars 2013-04-26 17:33:56 +02:00
Wolfgang Bumiller
9f8bee4bf1 ast_value now has an initializer list array, still unused but it's there for later 2013-04-26 10:47:55 +02:00
Wolfgang Bumiller
b3e9ef3ad9 an = before an { is also always required when the declared variable is not a function; adding because of planned array initializers 2013-04-26 10:31:38 +02:00
Dale Weiler
1077eb2061 Add expressions for builtins test 2013-04-25 17:39:05 +00:00
Wolfgang Bumiller
d4f8e4a0dd solve it, not hide it 2013-04-25 19:18:50 +02:00
Wolfgang Bumiller
35692c0b57 Revert "Just fucking initialize everything"
This reverts commit aed2b1031c.
2013-04-25 19:18:11 +02:00
Wolfgang Bumiller
b9fb29d740 manpage and ini update 2013-04-25 19:17:58 +02:00
Dale Weiler
aed2b1031c Just fucking initialize everything 2013-04-25 17:11:15 +00:00
Dale Weiler
68ca2c4962 Pushing the -fexpressions-for-builtins stuff and the modff for catching fractional-part builtin numbers. 2013-04-25 17:08:02 +00:00
Wolfgang Bumiller
ce73074d51 this allows builtin numbers to be constant expressions, not just constants 2013-04-25 18:47:54 +02:00
Wolfgang Bumiller
c3f4b7153b change the value of TOKEN_EOF 2013-04-25 17:39:12 +02:00
Dale Weiler
2eddc464d5 Less extern 2013-04-25 12:22:34 +00:00
Dale Weiler
3d8e8cd80d cleaner 2013-04-25 12:08:43 +00:00
Dale Weiler
9fee84f250 less globals 2013-04-25 12:08:13 +00:00
Dale Weiler
785ab7c072 No more globals for codegen 2013-04-25 09:35:30 +00:00
Wolfgang Bumiller
73070395eb these can be const now 2013-04-25 09:55:58 +02:00
Dale Weiler
c6f2c8fc3d That is also not needed anymore 2013-04-25 03:37:40 +00:00
Dale Weiler
2a3376cb52 not needed for arm anymore 2013-04-25 03:36:57 +00:00
Dale Weiler
10dd7aacfe Apply some static where it belongs 2013-04-25 03:34:42 +00:00
Dale Weiler
1b5504fb9e Fix alignment issues (can remove a clang warning, and also makes our code more portable!) 2013-04-25 03:17:52 +00:00
Dale Weiler
bfbb60bbed Use the LIBS properly 2013-04-25 03:11:50 +00:00
Wolfgang Bumiller
3a4aba0b31 Grrrr 2013-04-24 17:47:42 +02:00
Wolfgang Bumiller
1a915c7bf7 manpage: document and explain __FUNC__ and __NULL__ 2013-04-24 17:42:48 +02:00
Wolfgang Bumiller
66305c676a Allow string concatenation in the parser as well, for now only for immediate strings and __FUNC__, maybe later -fpermissive or somethign could allow it on const-delcared string variables 2013-04-24 17:27:04 +02:00
Dale Weiler
8ffdfbfd97 A nicer way of doing this 2013-04-24 14:08:58 +00:00
Dale Weiler
5d88216f38 remove irrelevant comment 2013-04-24 14:06:43 +00:00
Dale Weiler
19c57c03cc free the memory for asprintf 2013-04-24 14:05:09 +00:00
Dale Weiler
a0f6b00a15 Shitty testsuite support for windows the hacky way because there exists no sane simple way of redirecting pipes without a heafty chunk of code. 2013-04-24 14:04:00 +00:00
Wolfgang Bumiller
1e9d3e43cb test for the simple __FUNC__ case 2013-04-24 11:22:29 +02:00
Wolfgang Bumiller
dcd65f18f8 recognize the simple case of __FUNC__ in the parser 2013-04-24 11:21:10 +02:00
Dale Weiler
8bee9a6819 fix the intrinsic fail 2013-04-24 09:18:24 +00:00
Dale Weiler
6284cc673d typo 2013-04-24 04:50:07 +00:00
Dale Weiler
b3fc77efd6 Implemented __TIME_STAMP__ predef, expands to a timestamp of when the __FILE__ was last modified, returned in the format: "Www Mmm dd hh:mm:ss yyyy", where Www is the weekday, Mmm the month (in letter), dd the day of the month, hh:mm:ss the time, and yyyy the year. 2013-04-24 04:48:05 +00:00
Dale Weiler
35988b6191 Make ftepps __NULL__ translate to gmqccs untyped nil keyword (this isn't correct behaviour of the __NULL__ constant, but it works) 2013-04-24 04:17:17 +00:00
Dale Weiler
dc8523c650 Merge branch 'master' into cooking 2013-04-24 01:46:53 +00:00
Dale Weiler
489ad486bc Get it compiling in visual studio again. 2013-04-24 01:43:53 +00:00
Dale Weiler
10738da2fb Make it compile as C++ code too 2013-04-23 22:50:47 +00:00
Wolfgang Bumiller
17996dee50 fix noreturn testcase descriptions... those were mixed up 2013-04-23 17:07:19 +02:00
Wolfgang Bumiller
f6d554874b initialize the vector member array so that 'cleanup' won't delete uninitialized pointers 2013-04-23 16:54:05 +02:00
Wolfgang Bumiller
3d9a06591a Makefile: be more conformant: at link-time use LDFLAGS, not CFLAGS, also use CPPFLAGS prepended to CFLAGS at compile-commands, append optional LIBS at link-time after everything else 2013-04-23 16:49:43 +02:00
Wolfgang Bumiller
d6f6241872 misc/check-doc.sh 2013-04-22 12:22:24 +02:00
Dale Weiler
c86e778c76 Website target to distro makefile for updating gh-pages 2013-04-22 06:14:26 +00:00
Dale Weiler
217833dff7 Add download.c (used for generating the download.html for the website (for releases)) based on magic. use gcc download.c -o gen; gen ../../; git checkout gh-pages; git add download.html; git push origin gh-pages; to apply website changes. 2013-04-22 05:43:38 +00:00
Dale Weiler
1759388e3f Merge branch 'master' into cooking 2013-04-22 00:11:31 +00:00
Dale Weiler
9a1894f587 Proper install names (preserve the .exe for win32 builds) 2013-04-22 00:05:44 +00:00
Dale Weiler
a879fc28a3 Merge pull request #105 from matthiaskrgr/icon
Icon
2013-04-21 07:22:11 -07:00
Matthias Krüger
cc3b8dcfd6 make: gource: display gmqcc icon in video. 2013-04-21 14:08:23 +02:00
Matthias Krüger
53aac525d9 add gmqcc icon found on ohloh. 2013-04-21 14:07:06 +02:00
Dale Weiler
f8fc40c306 Merge branch 'master' of github.com:graphitemaster/gmqcc 2013-04-21 11:46:05 +00:00
Dale Weiler
0f7634876f Some stuff for building win32 packages via mingw32 2013-04-21 11:45:41 +00:00