Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DolphyWind committed Feb 23, 2024
2 parents 5aaf9d5 + dda8a42 commit 088066a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ Similar to File Reader, File Openers read a filename from the stack in the same
They push zero on failure.

>**File Write Opener(w):** Supports east, west, southwest and southeast directions. Opens the file in write and binary modes and pushes its id to the stack.
>**File Append Opener(a):** Supports east, northeast, north, northwest, west, southwest, south and southeast directions. Opens the file in append and binary modes and pushes its id to the stack.
### **File Writer (W)**
Expand Down Expand Up @@ -434,4 +435,4 @@ The interpreter has these command line arguments:
- `--version` or `-v`: Prints the version and exits.
- `--log` or `-l`: Enables logging. Electra interpreter logs each step of the program and saves it into a file.
- `--stack <arg>` or `-s <arg>`: Specifies some initial values for stacks. For example, `-s "0 1 2,3 4 5"` Pushes 0,1 and 2 to the first stack and 3, 4 and 5 to the second stack.
- `--stack-count <arg>` or `-sc <arg>`: Sets the stack count. The default stack count is 64.
- `--stack-count <arg>` or `-sc <arg>`: Sets the stack count. The default stack count is 64.
4 changes: 4 additions & 0 deletions include/Logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ SOFTWARE.
#include <StringUtilities.hpp>
#include <Global.hpp>

#ifdef ERROR
#undef ERROR
#endif

enum class LogType
{
WARNING,
Expand Down
2 changes: 2 additions & 0 deletions include/thirdparty/dylib/dylib.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#include <filesystem>
#endif

#define NOMINMAX

#if (defined(_WIN32) || defined(_WIN64))
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
Expand Down

0 comments on commit 088066a

Please sign in to comment.