Commit Graph

58 Commits

Author SHA1 Message Date
David Anderson
2df94fb594 fixed amb887 - 4d+ arrays were generated wrong
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401478
2007-09-25 21:45:25 +00:00
Scott Ehlert
ed88587a2f Fixed a compiler crash on Linux when the include directory didn't exist
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401318
2007-08-12 05:54:09 +00:00
Scott Ehlert
8ab3a324e2 Fixed compiler bug where #pragma deprecated would emit a warning twice for stocks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401271
2007-08-06 22:26:28 +00:00
David Anderson
9ce839e331 disabled stack recursion detection for now - found a case where it breaks :(
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401170
2007-07-25 02:48:52 +00:00
David Anderson
16c35c458e fixed amb514
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401052
2007-07-07 16:31:57 +00:00
David Anderson
9f38f9ae90 fixed a regression bug from the last commit
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401051
2007-07-07 16:21:34 +00:00
David Anderson
d8d13f1920 added the ability for the compiler to directly reference another address in a default argument (for arrays only)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401050
2007-07-07 15:36:54 +00:00
Scott Ehlert
2884483bef Fixed amb363 - Compiler reports wrong line number for unused global symbols
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40882
2007-06-05 05:45:48 +00:00
Scott Ehlert
6f7f487275 amb318 - The warning message for tag mismatches with functags has been changed to "function prototypes do not match"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40850
2007-05-23 07:23:24 +00:00
David Anderson
8a086fa820 fixed bug amb331 (compiler freeze on certain arrays)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40848
2007-05-23 03:21:40 +00:00
Scott Ehlert
cf889d1346 New descriptive error messages concerning structs
Increased possible error messages to 119: Fatal error messages now start at 120 instead of 100.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40847
2007-05-23 03:05:35 +00:00
David Anderson
98bf124013 compiler now gets its own versioning, finally
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40805
2007-05-15 04:59:48 +00:00
David Anderson
a4d07a2d40 stupid bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40767
2007-05-10 14:13:50 +00:00
David Anderson
a6c9fa470d fixed __DATE__ showing up wrong
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40766
2007-05-09 21:35:24 +00:00
David Anderson
45d0589585 fixed a serious codegen bug where for loops with no variable declarations would misalign the internal stack tracker of the compiler
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40760
2007-05-07 04:17:24 +00:00
David Anderson
b8e2b6cf68 fixed bug amb259
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40751
2007-05-06 19:13:39 +00:00
David Anderson
c6166f4b44 fixed a very serious codegen bug where stack usage was not corrected when breaking or continuing in while loops. glad I caught this last minute!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40646
2007-03-16 22:50:27 +00:00
Scott Ehlert
43af1a130e Added experimental "any" tag to compiler...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40638
2007-03-16 20:10:26 +00:00
Scott Ehlert
25891bdaba Typo fix: initialler -> initializer
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40569
2007-03-02 23:23:13 +00:00
David Anderson
fd32916b6e fixed a corruption bug where idxtags were not properly set
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40540
2007-02-26 07:44:08 +00:00
David Anderson
314f3401c8 fixed a bug where determinate 1D arrays would not have correct sizeof() -- REALLY hacky fix :(
fixed local arrays asserting on more than two dimensions with the last dimension being indeterminate

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40516
2007-02-17 04:37:47 +00:00
David Anderson
18aabecfd3 fixed a bug where early returns could cause the stack to not pop properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40465
2007-02-09 04:38:57 +00:00
Scott Ehlert
3efb158754 Code clean-up on aisle nana! Well, barely any code was touched here actually...
1) Fixed a few minor warnings
2) Removed MM build configs from geoip
3) Made sure that every project and build config had its Character Set set to Multi-Byte and that Detect 64-Bit Portability Issues was set to No.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40431
2007-02-02 11:27:22 +00:00
David Anderson
726498833e Fixed a bug where decl was essentially broken when using arrays
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40416
2007-01-29 22:33:57 +00:00
David Anderson
52b45354e8 multiple input files feature now works again
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40412
2007-01-29 06:43:27 +00:00
David Anderson
ad403d62a2 changed .psrc to .sp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40401
2007-01-27 03:55:59 +00:00
David Anderson
8cea528978 fixed compiler not getting includes right on linux
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40400
2007-01-27 03:55:33 +00:00
David Anderson
1ada31ad1e added version info
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40392
2007-01-27 02:25:23 +00:00
David Anderson
5a49f1d99b added Id svn:keywords property
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40370
2007-01-25 22:00:15 +00:00
David Anderson
dbf105cc71 addressed a very unfortunate issue, the compiler's multipass system is garbage
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40348
2007-01-25 04:25:40 +00:00
David Anderson
23a2d86140 added new functag keyword for fast funcenums
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40343
2007-01-25 01:53:02 +00:00
David Anderson
7ccf3a1787 sizeof() now returns character array sizes correctly
added untested cellsof() opreator

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40291
2007-01-12 04:11:39 +00:00
Borja Ferrer
f807575429 fixed arrays using decl being init when assigning a number
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40207
2006-12-09 03:18:48 +00:00
David Anderson
34c711fffd added size adjustment to dynamic strings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40205
2006-12-09 01:20:33 +00:00
David Anderson
f305cafe8c fixed a compiler bug with declaring natives having parameters with no arrays and returning strings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40196
2006-12-06 00:53:34 +00:00
David Anderson
438ccf39a0 added new API for function address lookups. this gives us O(1) code_addr -> sequential index
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40180
2006-11-11 05:47:00 +00:00
David Anderson
f43b4468c6 added the ability to pre-declare a struct, like extern
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40174
2006-11-10 00:16:12 +00:00
David Anderson
f8e7a10e06 added very, very primitive, mostly unusable structs. the most these can do so far is expose themselves publically
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40172
2006-11-09 22:53:27 +00:00
David Anderson
1dc2662a62 fixed constant dimension size bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40158
2006-11-07 11:50:30 +00:00
David Anderson
0bdf321d67 dynamic arrays no longer use a different token
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40157
2006-11-07 10:49:16 +00:00
David Anderson
e18699c702 added experimental new String tag. this tag will revert array usage to "char" sizing and packed strings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40156
2006-11-07 09:50:09 +00:00
Borja Ferrer
b5e203a67d added 3 errors for dofuncenum
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40143
2006-11-04 19:35:21 +00:00
David Anderson
4d61a07d58 --HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40141
2006-11-04 18:58:27 +00:00
David Anderson
bc16901bd6 Expanded weak function pointers with type checking
Added function typing enumeration

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40137
2006-11-03 06:14:43 +00:00
David Anderson
4d44a1df4f Fixed a bug where dynamic arrays might not be freed in loops
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40133
2006-10-31 08:31:14 +00:00
David Anderson
4f5f8dced9 arrays can now be public variables
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40132
2006-10-31 07:17:23 +00:00
David Anderson
53be062c6b added new op.genarray.z for zeroing arrays
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40128
2006-10-17 03:44:37 +00:00
David Anderson
a19823e4c6 fixed dynamic arrays not generating stack correctly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40124
2006-10-16 04:08:18 +00:00
David Anderson
b7180795ec initial import of.... DYNAMIC ARRAYS
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40123
2006-10-16 02:05:26 +00:00
David Anderson
ea6e82d79a committed new stack modification method
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40122
2006-10-15 23:31:09 +00:00