Bill Currie
|
48fdd0cb26
|
record the params for builtins, too.
|
2007-04-09 06:16:34 +00:00 |
|
Bill Currie
|
25bf40a71a
|
finish the break overloading and add some more tests (really need to get these automated)
|
2007-04-07 04:58:27 +00:00 |
|
Bill Currie
|
a6388ee680
|
overload "break" and allow break to be used in --traditional
|
2007-04-06 11:46:21 +00:00 |
|
Bill Currie
|
e9f49ca816
|
allow static local vars
|
2006-12-11 09:26:07 +00:00 |
|
Bill Currie
|
48f8bbd12e
|
group the struct rules together
|
2006-12-02 06:49:55 +00:00 |
|
Bill Currie
|
b6a4a520d5
|
silence bison's new warnings
|
2006-12-01 08:17:55 +00:00 |
|
Bill Currie
|
3fb03fc2be
|
hah, should have been using __attribute__((used)) all that time (rather
than __attribute__((unused))). fixes the missing console in -x11
|
2005-08-04 15:27:09 +00:00 |
|
Bill Currie
|
0edd694bac
|
fix a default action type clash in some versions of bison
|
2005-03-31 08:23:11 +00:00 |
|
Bill Currie
|
66257e3a88
|
run in fear, function overloading is here
This is an imperfect revision of history.
|
2004-11-13 11:50:00 +00:00 |
|
Bill Currie
|
64cc8c60d2
|
compile time protocol support seems to be complete now. fortunatly, protocols had never been written out so the corrections to the protocol related stuctures do not need a progs version bump. runtime protocol support hasn't been fully tested yet.
+load runtime support seems to be working.
This is an imperfect revision of history.
|
2004-11-11 00:34:00 +00:00 |
|
Bill Currie
|
a3a2dd62e3
|
fix type of "self"
This is an imperfect revision of history.
|
2004-11-02 07:13:00 +00:00 |
|
Bill Currie
|
a4dbdb4d06
|
whitespace
This is an imperfect revision of history.
|
2004-11-02 07:08:00 +00:00 |
|
Bill Currie
|
fff41d664a
|
detect re-declaring identifiers as different types (typedef, enum, var, etc)
This is an imperfect revision of history.
|
2004-11-02 07:02:00 +00:00 |
|
Bill Currie
|
332ec82495
|
update the scope of local defs to the parent scope when the creation scope
goes away (doesn't get updated to the global scope). fixes a bug where
local defs would be miscounted (and sometimes lost)
|
2004-04-09 03:47:41 +00:00 |
|
Bill Currie
|
25ac9cb07b
|
fix "for (;;)" etc
|
2004-03-30 02:31:02 +00:00 |
|
Bill Currie
|
865b31caac
|
make sure messages generated by issues within a function don't get
"At top level"
|
2004-02-13 04:57:15 +00:00 |
|
Bill Currie
|
69730cae8b
|
fix some type classes in older bison
|
2004-02-12 01:37:27 +00:00 |
|
Bill Currie
|
02d89ee7d5
|
allow computed functions for "think" in state expressions
|
2004-02-11 08:09:10 +00:00 |
|
Bill Currie
|
1c090c38a3
|
allow non-const expressions for the frame number and make sure the time
step is a float (for state expressions)
|
2004-02-11 04:00:11 +00:00 |
|
Bill Currie
|
0fe4c2a600
|
catch redefined functions
|
2004-02-11 01:53:17 +00:00 |
|
Bill Currie
|
c3f41e3e69
|
new opcode: state.f. same as state, but takes a 3rd float operand to
specify the step for calculating nextthink. accessed using
[frame, think, step] (state is [frame, think])
|
2004-02-11 01:43:33 +00:00 |
|
Bill Currie
|
1fc517f7db
|
C style functions can now (optionally) be used (void foo ();)
|
2004-02-11 00:36:34 +00:00 |
|
Bill Currie
|
e2602bc9d5
|
fix misparse of void () foo;
|
2004-02-10 23:49:45 +00:00 |
|
Bill Currie
|
7af8f8a6f6
|
; at the end of a function is no longer required. void () foo = {} and
void () foo = {}; are both valid now.
|
2004-02-10 23:20:44 +00:00 |
|
Bill Currie
|
6e4c6478a1
|
getting closer to optional ; at the end of functions. also gets rid of the
need for the context-sensitivity hack used for distinquishing frunction
inits from struct/array inits
|
2004-02-10 03:25:24 +00:00 |
|
Bill Currie
|
ddc44f33da
|
compress the 4 method building rules into 2
|
2004-02-09 07:35:19 +00:00 |
|
Bill Currie
|
3f27042e8d
|
forgot to look after current_storage with methods
|
2004-02-09 07:17:44 +00:00 |
|
Bill Currie
|
499dac6bb1
|
step one towards more flexible function declarations
|
2004-02-08 23:46:40 +00:00 |
|
Bill Currie
|
ab4f0e7ca9
|
warn on return foo (); where foo returns void
|
2004-02-04 01:30:12 +00:00 |
|
Bill Currie
|
0f94dd95d2
|
make @class foo work when foo is already defined
|
2004-02-03 07:29:20 +00:00 |
|
Bill Currie
|
ba901863d2
|
fix a missing ;
|
2004-01-27 04:41:20 +00:00 |
|
Bill Currie
|
897b49140a
|
initialized locals are a little trickier...
|
2004-01-25 22:08:08 +00:00 |
|
Bill Currie
|
7423ee389d
|
better timing for constant folding
|
2004-01-25 21:36:44 +00:00 |
|
Bill Currie
|
51b0a66ac7
|
better constant folding with auto-conversion between scalar types (might
make that optional for non-constants)
|
2004-01-25 08:55:03 +00:00 |
|
Bill Currie
|
802aacfaf4
|
allow constant expressions to be used for builtin numbers
|
2004-01-07 00:03:05 +00:00 |
|
Bill Currie
|
63414ea836
|
more gccisms in the error reporting (In function ...)
|
2003-10-25 04:35:47 +00:00 |
|
Bill Currie
|
58d0f188f1
|
recover from errors in bool expressions (ie, don't segfault)
|
2003-10-24 22:23:56 +00:00 |
|
Bill Currie
|
5f97de56d1
|
fix a few bugs
|
2003-10-22 09:14:53 +00:00 |
|
Bill Currie
|
945006494f
|
short circuit logic for && and || (as per C). forces standard precedence
(ie, breaks --traditional) when enabled (no choice at the moment, next fix)
|
2003-10-22 08:05:17 +00:00 |
|
Bill Currie
|
99034fef27
|
initialized locals aren't constant
|
2003-09-25 02:05:43 +00:00 |
|
Bill Currie
|
4ce81b28d7
|
remove nested scopes for traditional mode
|
2003-09-23 17:59:46 +00:00 |
|
Bill Currie
|
651fa8ca12
|
correct the operator precendece to match C. hopefully won't cause any
problems :)
|
2003-09-19 20:50:05 +00:00 |
|
Bill Currie
|
7d830ffc1f
|
make @defs work properly and don't do uninitialized checks on structs
|
2003-08-20 19:58:41 +00:00 |
|
Bill Currie
|
dd9ab1e050
|
get unsigned mostly working
|
2003-08-01 21:20:04 +00:00 |
|
Bill Currie
|
0361cb261f
|
fix an incorrect inherited attribute access caused by my "no ivars" fix
(part of the struct re-work)
|
2003-08-01 02:43:11 +00:00 |
|
Bill Currie
|
cc0d8b364d
|
fix a couple "value computed is not used" not used warnings
|
2003-07-31 02:16:26 +00:00 |
|
Bill Currie
|
6ecb707257
|
revamp the struct system so "struct foo;" does the right thing (ala C)
|
2003-07-30 04:11:45 +00:00 |
|
Bill Currie
|
1366ad4661
|
fix <protocol_list>
|
2003-07-25 20:34:24 +00:00 |
|
Bill Currie
|
627c6f70f5
|
allow casting between function types
|
2003-03-10 21:23:05 +00:00 |
|
Bill Currie
|
90752b33fe
|
make TYPE (void) NAME valid (no args)
|
2003-02-28 23:36:56 +00:00 |
|