summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2001-12-01 18:20:52 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2001-12-01 18:20:52 +0000
commitf1259a53b014c4b72c6fac5a166aac8e23f48a38 (patch)
tree7d02671df5430ea2c1b4087d3d732d1788064998 /lisp
parent14e76ac97c890e51353046854a93b72053c0b926 (diff)
downloademacs-f1259a53b014c4b72c6fac5a166aac8e23f48a38.tar.gz
(hif-nexttoken): Move to before first def.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/hideif.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el
index ba12b7cbffd..e814f296f0e 100644
--- a/lisp/progmodes/hideif.el
+++ b/lisp/progmodes/hideif.el
@@ -354,6 +354,10 @@ that form should be displayed.")
;;; This parser is limited to the operators &&, ||, !, and "defined".
;;; Added ==, !=, +, and -. Gary Oberbrunner, garyo@avs.com, 8/9/94
+(defsubst hif-nexttoken ()
+ "Pop the next token from token-list into the let variable \"hif-token\"."
+ (setq hif-token (pop hif-token-list)))
+
(defun hif-parse-if-exp (hif-token-list)
"Parse the TOKEN-LIST. Return translated list in prefix form."
(hif-nexttoken)
@@ -362,10 +366,6 @@ that form should be displayed.")
(if hif-token ; is there still a token?
(error "Error: unexpected token: %s" hif-token))))
-(defsubst hif-nexttoken ()
- "Pop the next token from token-list into the let variable \"hif-token\"."
- (setq hif-token (pop hif-token-list)))
-
(defun hif-expr ()
"Parse an expression as found in #if.
expr : term | expr '||' term."