;;;----- Licensing notice ---------------------------------------------------
;;;
-;;; This file is part of the Sensble Object Design, an object system for C.
+;;; This file is part of the Sensible Object Design, an object system for C.
;;;
;;; SOD is free software; you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;;--------------------------------------------------------------------------
;;; Class declarations.
+(export 'class-item)
+
(defun parse-class-body (scanner pset name supers)
;; class-body ::= `{' class-item* `}'
;;
;; (which might be dotted). So we parse that here and
;; dispatch based on what we find.
(parse (or (plug class-item scanner class sub-pset)
- ;(peek
+ (peek
(seq ((ds (parse-c-type scanner))
(dc (parse-maybe-dotted-declarator ds))
(nil (class-item-dispatch sub-pset
ds
(car dc)
- (cdr dc)))));)
+ (cdr dc))))))
(and "class"
(parse-initializer-item
sub-pset