From 08b84c6b42312aa2bb4d854367b4a17cafcf28c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sat, 23 Jul 2022 20:44:05 +0200 Subject: Merge cpp-environment sub-modules into main module. The modules where sepparate before to allow multiple objects to share keys for the constructor. This is not needed any more since the introduction of key: to define-type. --- module/c/cpp-environment/object-like-macro.scm | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 module/c/cpp-environment/object-like-macro.scm (limited to 'module/c/cpp-environment/object-like-macro.scm') 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?))) -- cgit v1.2.3