41 Commits (587a05e3eb764a1b8ca683d342c4c8236a8ef683)

Author SHA1 Message Date
Peter Johnson b3cb8c0292 Move assert.h include to util.h 23 years ago
Peter Johnson e8d7d5cad9 Add opt_flags (space for use by the optimizer). 23 years ago
Peter Johnson ce4a5fe02a Switch from using ternary tree to Hash Array Mapped Trie (HAMT), which has 23 years ago
Peter Johnson 825eaa5823 Massive cleanup of debugging output (via _print() functions). All now take 23 years ago
Peter Johnson b930d117d3 Polish up most directive support. This necessitated adding objfmt-specific 23 years ago
Peter Johnson b2876e5f3a Allow multiple EXTERN's of same variable without error (NASM's behavior). 23 years ago
Peter Johnson 379d2b353c Print "undefined symbol" message for all undefined symbols. Also make a little 23 years ago
Peter Johnson 7bdebece8b Don't print out *all* bytecodes in the label's section for every label! 23 years ago
Peter Johnson 8cbf2c2312 - Greatly enhance capabilities of directives (they're actually parsed now). 23 years ago
Peter Johnson d6d0cb8785 Add symrec_delete() for deleting non-table symbols. Use it from expr_delete(). 23 years ago
Peter Johnson 8178f883a5 Modify so that almost everything passes LCLint with the options in lclint.sh. 23 years ago
Peter Johnson f58d7cb093 Split x86-specific stuff away from bytecode. 23 years ago
Peter Johnson a7ac50c918 Add coretype.h, make util.h do a lot more, use util.h to simplify include 23 years ago
Peter Johnson 94730125be Missed a free->xfree conversion. 23 years ago
Peter Johnson 4d95de5161 Plug memory leaks, and enhance finding later ones with *_delete functions. 23 years ago
Peter Johnson dc1c3c70f5 Get rid of all the extra filename strdup()'s. (Bug #14). 23 years ago
Peter Johnson 6f708e3034 Add xfree() to replace calls to free(). 23 years ago
Peter Johnson adf5a95e89 Add option for malloc debugging using dmalloc library (http://dmalloc.com/). 23 years ago
Peter Johnson 43c736c2d8 Add parser finalization check for undefined symbols. 23 years ago
Peter Johnson e170a2f8b3 Add symrec_get_visibility(). 23 years ago
Peter Johnson 8149291eca Add expr_contains_float() and symrec_get_equ() functions. These are the first 23 years ago
Peter Johnson 193392dcb6 Fix LOTS of little nits. Primary changes: 23 years ago
Peter Johnson c49daeab12 Move SymStatus and SymType to symrec.c from symrec.h. They're only used 23 years ago
Peter Johnson 48a36cdf22 Make most data structures opaque, keeping internals truly internal and making the 23 years ago
Peter Johnson b13f4e4f87 malloc->xmalloc, strdup->xstrdup, and calloc->xcalloc. The x* family performs 23 years ago
Peter Johnson 98e25fc1f6 Add some (optional through configure) additional warning flags. Add options 23 years ago
Peter Johnson 279abb1b37 Implement floating point size conversions (with help from BitVector). 23 years ago
Peter Johnson 1abd74ba04 Fix large parts of expression and symbol handling. Actually link in labels 23 years ago
Peter Johnson 902d974288 Save filename as well as line number for each symbol. 23 years ago
Peter Johnson f9209d5200 Used ternary search tree instead of linked list to store symbol table. 23 years ago
Peter Johnson ecf19c6170 Delete ancient symrec cruft. 23 years ago
Peter Johnson b2890b8f9d $Id$ -> $IdPath$. 23 years ago
Peter Johnson 45df22d110 Convert to using gettext instead of the ugly errwarn constant strings. 24 years ago
Peter Johnson 86f7268ea8 Add RCSID(). 24 years ago
Peter Johnson 77fc6dd491 Standardize order of include statements as well as autoconf'ing those source 24 years ago
Peter Johnson edf74fe9ea Run through GNU indent using indent profile. Manually fix some changes 24 years ago
Peter Johnson bb595a8f02 Formatting changes and starting to comment more heavily. 24 years ago
Peter Johnson 91bc4ab5dc Use %1 and %2 instead of %s and %d for "duplicate definition" error message 24 years ago
Michael Urman 18e368c82e Added error for duplicate definitions of labels. 24 years ago
Michael Urman a6ef33c04c Added handling of labels including: 24 years ago
Peter Johnson d3a51f5835 Initial check-in. 24 years ago