aboutsummaryrefslogtreecommitdiff
path: root/module/c/cpp-environment/object-like-macro.scm
blob: 5d4c8810461b8e3282080b144a7f64919aabe85d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(define-module (c cpp-environment object-like-macro)
  :use-module (hnh util object)
  :export (object-like-macro
           object-like-macro?
           identifier
           body))


(define-type (object-like-macro)
  (identifier type: string?)
  ;; TODO import these
  (body type: list? ; (list-of (or whitespace-token? preprocessing-token?))
        ))