86 Commits (6ac7d9557918ff9b743751c1649c11c093a0a432)

Author SHA1 Message Date
Peter Johnson df1245459f Add parsing of memory expressions. Currently adds a lot of duplication for 23 years ago
Peter Johnson 8149291eca Add expr_contains_float() and symrec_get_equ() functions. These are the first 23 years ago
Peter Johnson 1708da018a Don't allow floats to be used as targets of jumps. 23 years ago
Peter Johnson 84de990744 Support TIMES prefix. Split expr parsing to have a no-float and no-string 23 years ago
Peter Johnson 256511eea8 Fix conficts created when adding EQU. 23 years ago
Peter Johnson 079c17a068 Fix handling of numeric constants ending in a single character (h,q,b). 23 years ago
Peter Johnson 124177e635 Handle EQU. Handle BITS directive. Move directive handling out to separate 23 years ago
Peter Johnson 193392dcb6 Fix LOTS of little nits. Primary changes: 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 a46ed054f7 Check for NULL datavals to avoid crashes. 23 years ago
Peter Johnson 1abd74ba04 Fix large parts of expression and symbol handling. Actually link in labels 23 years ago
Peter Johnson 197f8857e4 Change error/warning framework to store a list of errors and warnings instead 23 years ago
Peter Johnson 5d71f1f737 Fixed nasty bug in error handling. It should have been setting the return 23 years ago
Peter Johnson f9209d5200 Used ternary search tree instead of linked list to store symbol table. 23 years ago
Peter Johnson 63d8a451b7 Define YY_NEVER_INTERACTIVE, because we never are :). 23 years ago
Peter Johnson 91f41e241b Try to fix configure and automake files so everything builds a bit cleaner. 23 years ago
Peter Johnson 60fd596a66 Cleaned up bytecode data structure, some effaddr functions. Made ea an 23 years ago
Peter Johnson d0c4ae1572 Make sure bison.y and token.l get included in the distribution. 23 years ago
Peter Johnson 1fd753346c Build section linked list, and support the section directive, including 23 years ago
Peter Johnson 0b24caa55c Cleanup of local .cvsignore files after addition of global CVSROOT/cvsignore. 23 years ago
Peter Johnson e649bada33 Change ../ to $(top_builddir). It's clearer and safer. 23 years ago
Peter Johnson ef19b09dc2 Limit some tools to --enable-dev only. Only check for and use them if 23 years ago
Peter Johnson 79295b7e9d Add rcs id. 23 years ago
Peter Johnson 52847afaff Use absolute paths instead of srcdir because libintl.h is built in the 23 years ago
Peter Johnson b2890b8f9d $Id$ -> $IdPath$. 23 years ago
Peter Johnson 20daa47e62 Reindent to match other code for the most part. 23 years ago
Peter Johnson f8b36698fa Update file descriptions to indicate that these files are just for the 23 years ago
Peter Johnson 3c2a67ca1c Use bytecode * instead of bytecode in parser. 23 years ago
Peter Johnson 013530034e Start building of sections and bytecodes in parser. 23 years ago
Peter Johnson ca16006ce9 Allow whitespace before a directive. 23 years ago
Peter Johnson 84e0411c49 Use queue.h macros in section.h, and reference bytecode using bytecodehead. 24 years ago
Peter Johnson 074b748ece Rename outfmt to objfmt and related files and directories. "objfmt" is more 24 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 a34646760c Allow multiple labels on one line (it's still on the TODO list for NASM :). 24 years ago
Peter Johnson ae600ce442 Use STAILQ's for datavals and bytecodes. 24 years ago
Peter Johnson 382f245f47 Give prototype for nasm_parser_parse(). 24 years ago
Peter Johnson 3ce026a098 Remove & from function pointer references. 24 years ago
Peter Johnson 7ba343f346 New modular directory structure: parsers, preprocs, and outfmts. 24 years ago
Peter Johnson 1fa31332b6 Add lexing, parsing, and internal format for strings and character constants. 24 years ago
Peter Johnson 6232670d62 Add unary precedence to some of the expression rules. 24 years ago
Peter Johnson 5ded7b9546 Move ..start in with ..@label. 24 years ago
Peter Johnson 76af86221f Move some previously seperate identifiers into general label handlers. 24 years ago
Peter Johnson fa5c9d5ea9 First attempt at supporting relative jump instructions. A few hacks, but 24 years ago
Michael Urman c0eb4fac3e Better and more generalized kludge for sliding $0.\d down. 24 years ago
Michael Urman c4d985f1ad Integrate expression handling into memory address expressions. 24 years ago
Peter Johnson bd6d5322e1 Fix and tighten down on validation regexps. Add support for 4th group 24 years ago