mirror of
https://github.com/VARCem/Vasm.git
synced 2026-09-24 07:54:10 +00:00
Updated pseudo.c to issue error on negative count in FILL.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
* Handle directives and pseudo-ops.
|
||||
*
|
||||
* Version: @(#)pseudo.c 1.0.10 2023/06/24
|
||||
* Version: @(#)pseudo.c 1.0.11 2023/09/16
|
||||
*
|
||||
* Authors: Fred N. van Kempen, <waltje@varcem.com>
|
||||
* Bernd B”ckmann, <https://codeberg.org/boeckmann/asm6502>
|
||||
@@ -655,6 +655,8 @@ do_fill(char **p, int pass)
|
||||
if ((pass == 2) && UNDEFINED(v))
|
||||
error(ERR_UNDEF, NULL);
|
||||
count = v.v;
|
||||
if (count < 0)
|
||||
error(ERR_RNG, NULL);
|
||||
|
||||
skip_white(p);
|
||||
if (**p == ',') {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
* Define application version and build info.
|
||||
*
|
||||
* Version: @(#)version.h 1.0.11 2023/09/08
|
||||
* Version: @(#)version.h 1.0.12 2023/09/16
|
||||
*
|
||||
* Author: Fred N. van Kempen, <waltje@varcem.com>
|
||||
*
|
||||
@@ -56,7 +56,7 @@
|
||||
#define APP_VER_MAJOR 1
|
||||
#define APP_VER_MINOR 0
|
||||
#define APP_VER_REV 20
|
||||
#define APP_VER_PATCH 1
|
||||
#define APP_VER_PATCH 2
|
||||
|
||||
|
||||
/* Standard C preprocessor macros. */
|
||||
|
||||
Reference in New Issue
Block a user