Commit Graph

984 Commits

Author SHA1 Message Date
Bill Currie 6d21c50dee handle #line (hopefully) 2007-04-06 11:27:03 +00:00
Bill Currie 966c337bf5 use the def's declaration line rather than the function's when reporting auto-initialization 2007-04-06 11:05:52 +00:00
Bill Currie c560744270 "use" parent defs 2007-04-06 11:01:34 +00:00
Bill Currie 240eab4b09 cleanup the tempfile from a failed preprocessor run on progs.src 2007-04-06 09:44:08 +00:00
Bill Currie 26e15db4ba handle comments and conditionals in preprogs.src 2007-04-06 09:27:56 +00:00
Bill Currie 04765083aa really warn only once for each uninitialized variable 2007-04-06 08:56:37 +00:00
Bill Currie e7f478b197 by default, don't use cpp when compiling the output of qfpreqcc 2007-04-06 08:41:33 +00:00
Bill Currie 5a8143a9c7 support float = vector and vector = float for traditional 2007-04-06 08:23:07 +00:00
Bill Currie eb9943973b handle . in frame macro names 2007-04-06 08:19:58 +00:00
Bill Currie bff92d9d32 properly handle strings in comments and comments in strings 2007-04-06 08:19:20 +00:00
Bill Currie 6bbf54c7cd handle /* */ comments better 2007-04-06 07:12:47 +00:00
Bill Currie 0e4fb6c01a no-cpp implies no-single-cpp 2007-04-06 07:11:38 +00:00
Bill Currie 8079c9951c catch nested /* in comments 2007-04-06 06:31:47 +00:00
Bill Currie ff0144f870 bring in the cleanups from my start at preqcc stuff (I don't know if that will ever go in, though, I'm thinking maybe it should be external) 2007-04-06 05:52:20 +00:00
Bill Currie df2bebde7e more vc build patches from phrosy 2007-04-06 01:09:58 +00:00
Bill Currie 0382b05780 various unsigned long -> uintptr_t conversions 2007-04-04 11:22:48 +00:00
Bill Currie 72af804b31 nested include reporting 2007-03-31 15:27:36 +00:00
Bill Currie 5e98c49188 chase down a runaway else 2007-03-31 15:26:58 +00:00
Bill Currie 90129fc4ec add $frame_reset grab command to reset the frame macro counter and sneak the command in before each file in the single-cpp script. This fixes the bogus animations in nq (and anything else, for that matter) 2007-03-31 13:54:09 +00:00
Bill Currie 03e1d6c3bf re-implement the comment lexer using states to re-learn how things work prior to implementing preqcc support 2007-03-30 09:02:36 +00:00
Bill Currie e52633c492 make protocol dump info more readable 2006-12-19 11:53:18 +00:00
Bill Currie 0bd92e439a fix an interal error caused by losing the error state 2006-12-16 11:45:47 +00:00
Bill Currie 48d9d96005 don't try to create multiple objects for the same protocol 2006-12-16 08:09:10 +00:00
Bill Currie 904197c70e allow assignment of arrays to poitners 2006-12-11 09:26:45 +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 1925bef0c1 fix a bunch of bugs with single-cpp processing when not keeping temps 2006-08-20 06:20:30 +00:00
Bill Currie 130e6c1a3f fix some intermediate file issues 2006-05-24 14:50:24 +00:00
Bill Currie f7df6fea17 instead of having cpp args in progs.src, potentially breaking some mods, generate progs.i as a series of #includes and then compile everything in one pass 2006-05-24 14:35:39 +00:00
Bill Currie 8f097ce3dd fix a couple of typoes 2006-05-24 12:58:31 +00:00
Bill Currie ff28197da6 pass progs.src through cpp too 2006-05-24 11:19:48 +00:00
Bill Currie ada9797009 why r+t? we don't need to write. 2006-05-24 11:18:18 +00:00
Bill Currie 728dde167d explicity state errors are errors rather than leaving it implicit (tracking
gcc's messages again;)
2005-08-17 23:05:10 +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 0c974c0530 more tests 2005-06-14 11:29:42 +00:00
Bill Currie 3f58823fed vector-calls now works with rcall :) 2005-06-12 11:37:28 +00:00
Bill Currie aa6265859a allow -Cno-v6only to work when defaulting to traditional 2005-06-12 11:36:30 +00:00
Bill Currie 762aefc9b1 implement Raven's calling convention (rcall: first 2 params in opb and
opc). should give a general speedup to most progs.
2005-06-12 09:54:01 +00:00
Bill Currie 66cabb587f add the vector-calls "optimisation" from fteqcc. makes it possible to
compile the version of frogbot with waypoints for almost 300 maps.
2005-06-10 07:31:25 +00:00
Bill Currie 116860bb66 don't segfault when running out of globals 2005-06-10 05:16:20 +00:00
Bill Currie 9f662787e0 get struct copy to/from struct fields via pointers. fixes a bug found by
snax
2005-06-09 10:34:03 +00:00
Bill Currie 501180aaac gcc-4.0 fixes. even found some bugs :) (names /not/ mangled this time) 2005-06-08 06:35:48 +00:00
Bill Currie dff55040bc noticed a potential unused warning issue if that version of flex gets hit
again
2005-03-31 09:55:41 +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 b71f12a616 warning message cleanup
This is an imperfect revision of history.
2004-11-18 06:08:20 +00:00
Bill Currie ae456dc3a4 `secret' .c support so automake's dependency style autodetection works
This is an imperfect revision of history.
2004-11-14 23:15:00 +00:00
Bill Currie 554f4d071a get the type right when accessing arrays in a struct (in a pointer?)
This is an imperfect revision of history.
2004-11-13 13:22:30 +00:00
Bill Currie 56838844d2 add support for -E and still compile when -MD is used
This is an imperfect revision of history.
2004-11-13 13:22:00 +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