teach mdgrep.* about NH_DEVEL_STATUS

This commit is contained in:
nhkeni
2024-03-20 11:51:55 -04:00
parent 6e43ea1635
commit 41bdaa348a
2 changed files with 53 additions and 14 deletions
+18 -6
View File
@@ -1,11 +1,12 @@
/*
* NetHack 3.7 mdgrep.h $NHDT-Date: 1693083351 2023/08/26 20:55:51 $ $NHDT-Branch: keni-crashweb2 $:$NHDT-Revision: 1.24 $
* NetHack 3.7 mdgrep.h $NHDT-Date: 1710949914 2024/03/20 15:51:54 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.20 $
* Copyright (c) Kenneth Lorber, Kensington, Maryland, 2008
* NetHack may be freely redistributed. See license for details.
*
* This file generated by mdgrep.pl version 1.24.
* DO NOT EDIT! Your changes will be lost.
*/
static struct grep_var grep_vars[]={
{"0", 0},
{"1", 1},
@@ -29,11 +30,6 @@ static struct grep_var grep_vars[]={
#else
{"ASCIIGRAPH", 0},
#endif
#if defined(BETA)
{"BETA", 1},
#else
{"BETA", 0},
#endif
#if defined(BSD_JOB_CONTROL)
{"BSD_JOB_CONTROL", 1},
#else
@@ -275,6 +271,22 @@ static struct grep_var grep_vars[]={
{"__BEOS__", 1},
#else
{"__BEOS__", 0},
#endif
{"NH_DEVEL_STATUS", NH_DEVEL_STATUS},
#if (NH_DEVEL_STATUS == NH_STATUS_RELEASED)
{"DSNH_STATUS_RELEASED", 1},
#else
{"DSNH_STATUS_RELEASED", 0},
#endif
#if (NH_DEVEL_STATUS == NH_STATUS_WIP)
{"DSNH_STATUS_WIP", 1},
#else
{"DSNH_STATUS_WIP", 0},
#endif
#if (NH_DEVEL_STATUS == NH_STATUS_BETA)
{"DSNH_STATUS_BETA", 1},
#else
{"DSNH_STATUS_BETA", 0},
#endif
{0,0}
};