bf: move SIZEOF_PROGRAM to base.h

This commit is contained in:
2026-03-17 21:33:07 +00:00
parent 39e8b37f5b
commit 5110ce8c42
2 changed files with 3 additions and 3 deletions

View File

@@ -32,6 +32,9 @@ typedef double f64;
#define WIDTH 800 #define WIDTH 800
#define HEIGHT 600 #define HEIGHT 600
// All "programs" are 64 bytes.
#define SIZEOF_PROGRAM 64
#endif #endif
/* Copyright (C) 2026 Aryadev Chavali /* Copyright (C) 2026 Aryadev Chavali

View File

@@ -12,9 +12,6 @@
typedef i8 bf_token; typedef i8 bf_token;
// All "programs" are 64 bytes.
#define SIZEOF_PROGRAM 64
struct ProgramConcat struct ProgramConcat
{ {
bf_token *a, *b; bf_token *a, *b;