Peter Johnson
d914cd8082
* nasm-token.re (nasm_parser_lex): Fix #57 by recognizing "long" as an alias
...
for "dword".
svn path=/trunk/yasm/; revision=1220
19 years ago
Peter Johnson
3a8a66d7a9
* nasm-token.re (nasm_parser_lex): b/q/h suffixes should be case-insensitive.
...
* numcase.asm, numcase.errwarn, numcase.hex: Add testcases.
Noticed by: Albrecht Kleine <kleine@ak.sax.de>
svn path=/trunk/yasm/; revision=1193
20 years ago
Peter Johnson
1a86c34026
* On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion.
...
svn path=/trunk/yasm/; revision=1137
20 years ago
Peter Johnson
643570c777
* errwarn.h (yasm_warn_class): Add new class YASM_WARN_ORPHAN_LABEL.
...
* errwarn.c (yasm_errwarn_initialize): Disable YASM_WARN_ORPHAN_LABEL by
default.
* nasm-bison.y (lineexp): Warn (controlled by YASM_WARN_ORPHAN_LABEL) on
labels alone on a line without a colon.
* yasm.c (opt_warning_handler): Add option "-Worphan-labels" (and
"-Wno-orphan-labels" to enable/disable YASM_WARN_ORPHAN_LABEL.
* nasm/tests/worphan/*: Test YASM_WARN_ORPHAN_LABEL warning.
* nasm/tests/orphannowarn.*: Likewise (for disabled case).
* nasm/tests/Makefile.inc: Include worphan tests.
Bugzilla Bug 35
Reported By: vclaudepierre@tiscali.fr
svn path=/trunk/yasm/; revision=1135
20 years ago
Peter Johnson
a43d15c546
Allow colons for EQU labels (e.g. "value: equ 5").
...
Reported by: Brian Gladman <brg@gladman.plus.com>
svn path=/trunk/yasm/; revision=1078
21 years ago
Peter Johnson
38654f318e
Be less pedantic about trailing commas in data declarations and incbin.
...
We're still being pedantic when it comes to instructions, however.
Reported by: Edouard Gomez <ed.gomez@free.fr>
svn path=/trunk/yasm/; revision=1073
21 years ago
Peter Johnson
823fb1b781
Reformat multi-file lists to use many += lines instead of using \
...
(line-continued) lines. Format-only change, no functional change.
svn path=/trunk/yasm/; revision=959
22 years ago
Peter Johnson
e60fe7b21c
Fix crash in "no non-local label before `%s'" warning (misuse of s.tok).
...
Add testcase for this warning while we're at it.
svn path=/trunk/yasm/; revision=952
22 years ago
Peter Johnson
8b564fbaa4
Split src into frontends, libyasm, and modules (forced commit after repo-copy).
...
svn path=/trunk/yasm/; revision=847
22 years ago
Peter Johnson
1e715b81f8
Put test suite file results into a separate "results" directory.
...
svn path=/trunk/yasm/; revision=811
22 years ago
Peter Johnson
e4988ea961
Make test scripts more portable by detecting echo line-ending features, using
...
fewer options for sed, and using a perl script for hexdump. As a side effect,
hexdumps are more accurate (the hexdump util put * for as many multiples as
were output, whereas the perl script outputs a line for every byte, no matter
what).
svn path=/trunk/yasm/; revision=736
22 years ago
Peter Johnson
d6dd56e1eb
Add parsers/nasm automated tests.
...
svn path=/trunk/yasm/; revision=735
22 years ago