119 Commits (2f20fc4846e13253c334116791608018738432e9)

Author SHA1 Message Date
Peter Johnson 90625f71e1 Add semicolon at end of error handling code to fix syntax errors. Only seen 23 years ago
Peter Johnson ef3eff4f62 Enhance error/warning framework by allowing specific warnings to be disabled, 23 years ago
Peter Johnson 044cc90233 Make jcc's default to JR_SHORT in NASM syntax, and test for this possibility 23 years ago
Peter Johnson 3f2186c1bf Change from current file/line dual storage to a monotonically-increasing line 23 years ago
Peter Johnson ac056aa1fc Fix issues with yy->nasm_parser_ renaming. AM_YFLAGS/AM_LFLAGS are not an 24 years ago
Peter Johnson 90864f6793 Bring up-to-date with new generated files (due to new build structure). 24 years ago
Peter Johnson ca6a1c8167 Massive build system change: single Makefile instead of recursive. 24 years ago
Peter Johnson ae85d1edb1 Add support for incbin pseudo-instruction. 24 years ago
Peter Johnson b3cb8c0292 Move assert.h include to util.h 24 years ago
Peter Johnson c42294ab0a Fix a few LCLint errors. 24 years ago
Peter Johnson 8043dbfc16 Generate smaller code where possible (eg, when op_len=1, it's not necessary to 24 years ago
Peter Johnson 758edc89e7 Allow overrides (a32/a16/rep/etc) to appear on their own line. The way this 24 years ago
Peter Johnson 7b4e6c09dc Add support for NASM's %line. 24 years ago
Peter Johnson 83b996e8f4 Remove definition of line_number; it was overriding the global variable. 24 years ago
Peter Johnson a9a74064b4 Fix so "0h" works. 24 years ago
Peter Johnson cf84bbf503 Change REG_SOMEREG -> reg_somereg and add rules that allow BYTE/WORD/DWORD 24 years ago
Peter Johnson ff1fba3feb Fix bug with ONE generation (overwrote both [0] and [1] indexes with opcode 24 years ago
Peter Johnson b930d117d3 Polish up most directive support. This necessitated adding objfmt-specific 24 years ago
Peter Johnson bd921434cb Don't do REG_E?AX combining with reg8/reg8x instructions, to allow things like 24 years ago
Peter Johnson d894c27cca Fix hexidecimal number handling. It was only allowing numbers starting with 0. 24 years ago
Peter Johnson 94a5e7fe03 Revert previous changes (which turned on -v), it was accidentally committed. 24 years ago
Peter Johnson 9c7469116d Fix a memory re-free issue in nasm_parser_directive(). vp->param was passed 24 years ago
Peter Johnson 8cbf2c2312 - Greatly enhance capabilities of directives (they're actually parsed now). 24 years ago
Peter Johnson c7e3ad29e9 Don't set nasm_parser_debug (as we'll soon not define YYDEBUG in bison.y.in). 24 years ago
Peter Johnson 8178f883a5 Modify so that almost everything passes LCLint with the options in lclint.sh. 24 years ago
Peter Johnson f58d7cb093 Split x86-specific stuff away from bytecode. 24 years ago
Peter Johnson 65810babc4 Change PERL line to reflect instrs.dat move. 24 years ago
Peter Johnson c9d92847b6 Start framework for separating architecture-dependent functions and data 24 years ago
Peter Johnson a7ac50c918 Add coretype.h, make util.h do a lot more, use util.h to simplify include 24 years ago
Peter Johnson 1d26b1de84 Fix directive memory leaks in a different way; the old way broke name/val 24 years ago
Peter Johnson 4d95de5161 Plug memory leaks, and enhance finding later ones with *_delete functions. 24 years ago
Peter Johnson adf5a95e89 Add option for malloc debugging using dmalloc library (http://dmalloc.com/). 24 years ago
Peter Johnson e7bab50cf2 Parse NOSPLIT. 24 years ago
Peter Johnson df1245459f Add parsing of memory expressions. Currently adds a lot of duplication for 24 years ago
Peter Johnson 8149291eca Add expr_contains_float() and symrec_get_equ() functions. These are the first 24 years ago
Peter Johnson 1708da018a Don't allow floats to be used as targets of jumps. 24 years ago
Peter Johnson 84de990744 Support TIMES prefix. Split expr parsing to have a no-float and no-string 24 years ago
Peter Johnson 256511eea8 Fix conficts created when adding EQU. 24 years ago
Peter Johnson 079c17a068 Fix handling of numeric constants ending in a single character (h,q,b). 24 years ago
Peter Johnson 124177e635 Handle EQU. Handle BITS directive. Move directive handling out to separate 24 years ago
Peter Johnson 193392dcb6 Fix LOTS of little nits. Primary changes: 24 years ago
Peter Johnson 48a36cdf22 Make most data structures opaque, keeping internals truly internal and making the 24 years ago
Peter Johnson b13f4e4f87 malloc->xmalloc, strdup->xstrdup, and calloc->xcalloc. The x* family performs 24 years ago
Peter Johnson 98e25fc1f6 Add some (optional through configure) additional warning flags. Add options 24 years ago
Peter Johnson a46ed054f7 Check for NULL datavals to avoid crashes. 24 years ago
Peter Johnson 1abd74ba04 Fix large parts of expression and symbol handling. Actually link in labels 24 years ago
Peter Johnson 197f8857e4 Change error/warning framework to store a list of errors and warnings instead 24 years ago
Peter Johnson 5d71f1f737 Fixed nasty bug in error handling. It should have been setting the return 24 years ago
Peter Johnson f9209d5200 Used ternary search tree instead of linked list to store symbol table. 24 years ago
Peter Johnson 63d8a451b7 Define YY_NEVER_INTERACTIVE, because we never are :). 24 years ago