From c13a4ffc925cd1e9662415a3d16496ac74d7ba82 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 18 Oct 2023 05:12:54 -0700 Subject: [PATCH] Make 1987/lievaart slightly more like original Restored the #define D define even though it can't be used with modern compilers, just so it looks as close to the original as possible. This goes for both versions, the one with the board and the entry (limited by the contest restrictions). --- 1987/lievaart/lievaart.c | 1 + 1987/lievaart/lievaart2.c | 1 + thanks-for-fixes.md | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/1987/lievaart/lievaart.c b/1987/lievaart/lievaart.c index 90df1a3fa..eb18d37b5 100644 --- a/1987/lievaart/lievaart.c +++ b/1987/lievaart/lievaart.c @@ -1,3 +1,4 @@ +#define D define #define Y return #define R for #define e while diff --git a/1987/lievaart/lievaart2.c b/1987/lievaart/lievaart2.c index cb05bfc59..27c34bcc8 100644 --- a/1987/lievaart/lievaart2.c +++ b/1987/lievaart/lievaart2.c @@ -1,3 +1,4 @@ +#define D define #define Y return #define R for #define e while diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index 2b90d3c5a..5b4997448 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -283,6 +283,12 @@ of `strings.h` and because it's identical in use to `strchr(3)` (and we noted that for System V we had to do this) Cody added to the Makefile `-Dindex=strchr`. +## [1987/lievaart](1987/lievaart/lievaart.c) ([README.md](1987/lievaart/README.md)) + +Cody made this ever so slightly like the original code by adding back the +`#define D define` even though it's unused. This was done for both versions as +well (the one with the board and the one without, the entry itself with the +limitations of the contest). ## [1987/wall](1987/wall/wall.c) ([README.md](1987/wall/README.md]))