Skip to content

Commit

Permalink
Remove macro NIL
Browse files Browse the repository at this point in the history
Signed-off-by: yamacir-kit <httperror@404-notfound.jp>
  • Loading branch information
yamacir-kit committed Oct 10, 2022
1 parent 9714413 commit d2005b9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ sudo rm -rf /usr/local/share/meevax

| Target Name | Description
|:-------------------|:--
| `all` (default) | Build shared-library `libmeevax.0.4.277.so` and executable `meevax`.
| `all` (default) | Build shared-library `libmeevax.0.4.278.so` and executable `meevax`.
| `test` | Test executable `meevax`.
| `package` | Generate debian package `meevax_0.4.277_amd64.deb`.
| `package` | Generate debian package `meevax_0.4.278_amd64.deb`.
| `install` | Copy files into `/usr/local` __(1)__.
| `install.deb` | `all` + `package` + `sudo apt install <meevax>.deb`
| `safe-install.deb` | `all` + `test` + `package` + `sudo apt install <meevax>.deb`
Expand All @@ -122,7 +122,7 @@ __(1)__ Meevax installed by `make install` cannot be uninstalled by the system's
## Usage

```
Meevax Lisp System, version 0.4.277
Meevax Lisp System, version 0.4.278
Usage: meevax [OPTION...] [FILE...]
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.277
0.4.278
6 changes: 3 additions & 3 deletions include/meevax/kernel/configurator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ inline namespace kernel
explicit configurator()
{}

IMPORT(environment, evaluate, NIL);
IMPORT(environment, load, NIL);
IMPORT(environment, read, NIL);
IMPORT(environment, evaluate, );
IMPORT(environment, load, );
IMPORT(environment, read, );

template <typename Key>
using dispatcher = std::unordered_map<Key, std::function<void (const_reference)>>;
Expand Down
2 changes: 0 additions & 2 deletions include/meevax/kernel/heterogeneous.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
#include <meevax/utility/demangle.hpp>
#include <meevax/utility/module.hpp>

#define NIL /* nothing */

namespace meevax
{
inline namespace kernel
Expand Down
2 changes: 1 addition & 1 deletion include/meevax/kernel/reader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ inline namespace kernel
explicit reader()
{}

IMPORT(Environment, evaluate, NIL);
IMPORT(Environment, evaluate, );

using char_type = typename std::istream::char_type;

Expand Down

0 comments on commit d2005b9

Please sign in to comment.