;;; along with SOD; if not, write to the Free Software Foundation,
;;; Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+(in-package #:sod)
+
;;;--------------------------------------------------------------------------
;;; The expression parser.
(export 'parse-property-set)
(defun parse-property-set (scanner)
- "Parse an optional property set from the SCANNER and return it, or `nil'."
- ;; property-set ::= [`[' property-list `]']
+ "Parse an optional property set from the SCANNER and return it."
+ ;; property-set ::= `[' property-list `]'
(with-parser-context (token-scanner-context :scanner scanner)
- (parse (? (seq (#\[
- (pset (many (pset (make-property-set) pset)
- (parse-property scanner pset)
- #\,))
- #\])
- pset)))))
+ (parse (seq (#\[
+ (pset (many (pset (make-property-set) pset)
+ (parse-property scanner pset)
+ #\,))
+ #\])
+ pset))))
;;;----- That's all, folks --------------------------------------------------