197 Commits (0ea57bf7bfbb841025673398501bb5201c6f9c07)

Author SHA1 Message Date
Peter Johnson d510e21546 Add option for parser to associate input text (after preprocessing) with each 22 years ago
Peter Johnson e9f81d0715 Check count returned by nasm_parser_input() against 0 instead of just a short 22 years ago
Peter Johnson af90bb224b fix_directive_symrec() needs to return a value for all cases. 22 years ago
Peter Johnson 1d57da41a2 Fixup directive symrecs to point at global instead of local symbols if the 22 years ago
Peter Johnson af56335ec8 Add x86-64 effective address support, as well as a couple of tests for it. 22 years ago
Peter Johnson 1e715b81f8 Put test suite file results into a separate "results" directory. 22 years ago
Peter Johnson 2eb7929f86 Treat ',' as a directive valparam separator. 22 years ago
Peter Johnson 49623d5589 Add the "real" NASM preprocessor, and default to it. As NASM is LGPL, no 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 d6f22c3fce Dynamically load all modules (preloading some of the default ones). 22 years ago
Peter Johnson e14601499b Allow single strings to be used as parameters for directives. 22 years ago
Peter Johnson 8ec46da76c Combine global/common/extern handling into general of_data in symrec. 22 years ago
Peter Johnson d1f5de8d45 Run sed on the re2c output to update the newly added #line output. 22 years ago
Peter Johnson e4988ea961 Make test scripts more portable by detecting echo line-ending features, using 22 years ago
Peter Johnson d6dd56e1eb Add parsers/nasm automated tests. 22 years ago
Peter Johnson 49796c2b11 Fix a major bug: after switching sections, prev_bc was always being set to 22 years ago
Peter Johnson 79326b3d29 EQU's should not affect local label mechanism. 22 years ago
Peter Johnson a3a9fd2aa0 Completely revamp how label resolution is done (part of Bug#6). Now calculates 22 years ago
Peter Johnson ed2bbe525c Fix %line handling. 23 years ago
Peter Johnson 19569a8d6a Allow one-digit hex-constants of the form "0h". 23 years ago
Peter Johnson 70442d8b7f Make "TO" a x86 targetmod. 23 years ago
Peter Johnson 035fea119a Add explicit $(top_builddir) when running re2c. 23 years ago
Peter Johnson 3320945f95 Massive restructuring of lexing and parsing (NASM-compatible parser). 23 years ago
Peter Johnson 44dbd8a872 Remove debugging print statement added in previous commit. 23 years ago
Peter Johnson 62ece541a0 Make call instruction work correctly. The old code generated a legal short 23 years ago
Peter Johnson 07c3299820 Add bin object format. 23 years ago
Michael Urman 7c073b5c23 Add const char *in_filename arguments to 23 years ago
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 23 years ago
Peter Johnson 90864f6793 Bring up-to-date with new generated files (due to new build structure). 23 years ago
Peter Johnson ca6a1c8167 Massive build system change: single Makefile instead of recursive. 23 years ago
Peter Johnson ae85d1edb1 Add support for incbin pseudo-instruction. 23 years ago
Peter Johnson b3cb8c0292 Move assert.h include to util.h 23 years ago
Peter Johnson c42294ab0a Fix a few LCLint errors. 23 years ago
Peter Johnson 8043dbfc16 Generate smaller code where possible (eg, when op_len=1, it's not necessary to 23 years ago
Peter Johnson 758edc89e7 Allow overrides (a32/a16/rep/etc) to appear on their own line. The way this 23 years ago
Peter Johnson 7b4e6c09dc Add support for NASM's %line. 23 years ago
Peter Johnson 83b996e8f4 Remove definition of line_number; it was overriding the global variable. 23 years ago
Peter Johnson a9a74064b4 Fix so "0h" works. 23 years ago
Peter Johnson cf84bbf503 Change REG_SOMEREG -> reg_somereg and add rules that allow BYTE/WORD/DWORD 23 years ago
Peter Johnson ff1fba3feb Fix bug with ONE generation (overwrote both [0] and [1] indexes with opcode 23 years ago
Peter Johnson b930d117d3 Polish up most directive support. This necessitated adding objfmt-specific 23 years ago
Peter Johnson bd921434cb Don't do REG_E?AX combining with reg8/reg8x instructions, to allow things like 23 years ago
Peter Johnson d894c27cca Fix hexidecimal number handling. It was only allowing numbers starting with 0. 23 years ago
Peter Johnson 94a5e7fe03 Revert previous changes (which turned on -v), it was accidentally committed. 23 years ago
Peter Johnson 9c7469116d Fix a memory re-free issue in nasm_parser_directive(). vp->param was passed 23 years ago