65 Commits (4169dbca50877f75de219b5bee44c31db1fed045)

Author SHA1 Message Date
Peter Johnson 2f1e7fa171 * errwarn.c (yasm_error_matches): Make real function, fix a bug with checking 19 years ago
Peter Johnson 4c33af41ec Revamp error/warning handling, using a model similar to Python's internal 19 years ago
Peter Johnson 730fdd725f Add warning class (YASM_WARN_UNINIT_CONTENTS) to turn off the 19 years ago
Peter Johnson 1a86c34026 * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 20 years ago
Peter Johnson 643570c777 * errwarn.h (yasm_warn_class): Add new class YASM_WARN_ORPHAN_LABEL. 20 years ago
Peter Johnson 7c50b6c319 Properly handle fatal errors (like missing include file) from the real 21 years ago
Peter Johnson 98b92dbacf Fix reporting of redefinition errors by adding a set of error/warning 21 years ago
Peter Johnson 55438b7229 Massive libyasm / module interface update - Phase 1 21 years ago
Peter Johnson b6f7d0316f Make yasm_fatal() and implementations take a list of printf-like parameters. 22 years ago
Peter Johnson cfc6bf0ded Clean up and simplify libyasm.h options and symbol visibility: 22 years ago
Peter Johnson 782210f44b Comment for Doxygen documentation generation. 22 years ago
Peter Johnson d189020798 Change yasm__conv_unprint to take an int parameter instead of a char (safer). 22 years ago
Peter Johnson 0786a76895 Make libyasm a "real" library, including installing header files. 22 years ago
Peter Johnson 84ee559be7 The Great Renaming (prefixing with yasm_), Part 2: allocation functions. 22 years ago
Peter Johnson d9f68d6d4b Unmodularize errwarn, while making key errwarn functions replaceable. 22 years ago
Peter Johnson a2e07e1e10 The Great Renaming (prefixing with yasm_), Part 1. 22 years ago
Peter Johnson b1faf6329c Relicense under 2-clause BSD license. 22 years ago
Peter Johnson 86751029a3 Add va_list versions of error and warning errwarn functions. 22 years ago
Peter Johnson 9f6cb6783f Modularize errwarn. gettext()-ize in errwarn, not in every module, eliminating 22 years ago
Peter Johnson 2f19ce4ecd Delete last of global variables by making a line manager and passing around 22 years ago
Peter Johnson e9e00fcef2 errwarn_new(): Fix bug that could cause infinite loops. 22 years ago
Peter Johnson ac8d8e085a Declare errwarn_new(), error_common(), and warning_common() as static. 23 years ago
Peter Johnson 4fed536d3c Revamp error/warning handling. 23 years ago
Peter Johnson 4fc6605a56 Properly count errors and warnings triggered by ErrorAt() and WarningAt(). 23 years ago
Peter Johnson 04df0be842 Cleanups both for and from Splint. 23 years ago
Peter Johnson ef3eff4f62 Enhance error/warning framework by allowing specific warnings to be disabled, 23 years ago
Peter Johnson ddacb97e3e Don't shadow global (standard C) "index" (noticed by LCLint). 23 years ago
Peter Johnson 3f2186c1bf Change from current file/line dual storage to a monotonically-increasing line 23 years ago
Peter Johnson b3cb8c0292 Move assert.h include to util.h 23 years ago
Peter Johnson 8178f883a5 Modify so that almost everything passes LCLint with the options in lclint.sh. 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 dc1c3c70f5 Get rid of all the extra filename strdup()'s. (Bug #14). 23 years ago
Peter Johnson 7a6eaf8c03 Make InternalError() a bit easier to call. Also, reverse its file and line 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 21c598f9f8 Put in temporary implementations of ErrorAt() and WarningAt(). 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 fb48401cc0 Add *Now and *At error and warning functions. *At functions still need to 23 years ago
Peter Johnson 197f8857e4 Change error/warning framework to store a list of errors and warnings instead 23 years ago
Peter Johnson b2890b8f9d $Id$ -> $IdPath$. 23 years ago
Peter Johnson fa6e459ce5 Use abort() instead of exit() if it's available for InternalError() and 23 years ago
Peter Johnson 45df22d110 Convert to using gettext instead of the ugly errwarn constant strings. 23 years ago
Peter Johnson 86f7268ea8 Add RCSID(). 23 years ago
Peter Johnson 77fc6dd491 Standardize order of include statements as well as autoconf'ing those source 23 years ago
Peter Johnson edf74fe9ea Run through GNU indent using indent profile. Manually fix some changes 23 years ago
Peter Johnson b3a5266c00 Add "error when reading from file" error. 23 years ago
Peter Johnson 50cd4f238f Add global filename variable and handling for a filename passed on the 23 years ago
Peter Johnson 1fa31332b6 Add lexing, parsing, and internal format for strings and character constants. 23 years ago
Peter Johnson bb595a8f02 Formatting changes and starting to comment more heavily. 24 years ago