X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/blobdiff_plain/aa14a4cddcb96b681d5c19a2ec8bad382f43b264..1dd7dba9fd7f420f82fe6dec068f8925c87debd3:/src/parser/parser-expr-proto.lisp diff --git a/src/parser/parser-expr-proto.lisp b/src/parser/parser-expr-proto.lisp index 7fc2609..326f3e5 100644 --- a/src/parser/parser-expr-proto.lisp +++ b/src/parser/parser-expr-proto.lisp @@ -7,7 +7,7 @@ ;;;----- 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 @@ -41,7 +41,7 @@ (defgeneric push-value (value state) (:documentation "Push VALUE onto the STATE's value stack. - The default message just does that without any fuss. It's unlikely that + The default method just does that without any fuss. It's unlikely that this will need changing unless you invent some really weird values.")) (export 'apply-operator) @@ -101,7 +101,8 @@ (defparse expr ((&key (nestedp (gensym "NESTEDP-"))) ;;;-------------------------------------------------------------------------- ;;; Numerical precedence. -(export '(operator-left-precedence operator-right-precedence)) +(export '(operator-left-precedence operator-right-precedence + operator-associativity)) (defgeneric operator-left-precedence (operator) (:documentation "Return the OPERATOR's left-precedence. @@ -154,7 +155,7 @@ (defclass prefix-operator () (export 'simple-operator) (defclass simple-operator () - ((function :initarg :function :reader operator-function) + ((%function :initarg :function :reader operator-function) (name :initarg :name :initform "" :reader operator-name)) (:documentation