Function: hif-math

hif-math is a byte-compiled function defined in hideif.el.gz.

Signature

(hif-math)

Documentation

Parse an expression with + or -.

       math : muldiv | math +|- muldiv.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideif.el.gz
(defun hif-math ()
  "Parse an expression with + or -.
       math : muldiv | math `+'|`-' muldiv."
  (let ((result (hif-muldiv-expr))
        (math-op nil))
    (while (or (memq hif-token '(hif-plus hif-minus))
               ;; One token lookahead
               (hif-split-signed-token))
      (setq math-op hif-token)
      (hif-nexttoken)
      (setq result (list math-op result (hif-muldiv-expr))))
    result))