aboutsummaryrefslogtreecommitdiff
path: root/module/c/cpp-environment/object-like-macro.scm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--module/c/cpp-environment/object-like-macro.scm18
1 files changed, 0 insertions, 18 deletions
diff --git a/module/c/cpp-environment/object-like-macro.scm b/module/c/cpp-environment/object-like-macro.scm
deleted file mode 100644
index 90a3ad23..00000000
--- a/module/c/cpp-environment/object-like-macro.scm
+++ /dev/null
@@ -1,18 +0,0 @@
-(define-module (c cpp-environment object-like-macro)
- :use-module (hnh util object)
- :use-module (hnh util type)
- :use-module ((c lex2) :select (lexeme?))
- :use-module ((c unlex) :select (unlex))
- :export (object-like-macro
- object-like-macro?
- identifier
- body))
-
-
-(define-type (object-like-macro
- printer: (lambda (r p)
- (format p "#<#define ~a ~a>"
- (identifier r)
- (unlex (body r)))))
- (identifier type: string?)
- (body type: (list-of lexeme?)))