aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2001-12-01 18:20:52 +0000
committerStefan Monnier2001-12-01 18:20:52 +0000
commitf1259a53b014c4b72c6fac5a166aac8e23f48a38 (patch)
tree7d02671df5430ea2c1b4087d3d732d1788064998
parent14e76ac97c890e51353046854a93b72053c0b926 (diff)
downloademacs-f1259a53b014c4b72c6fac5a166aac8e23f48a38.tar.gz
emacs-f1259a53b014c4b72c6fac5a166aac8e23f48a38.zip
(hif-nexttoken): Move to before first def.
-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.")
354;;; This parser is limited to the operators &&, ||, !, and "defined". 354;;; This parser is limited to the operators &&, ||, !, and "defined".
355;;; Added ==, !=, +, and -. Gary Oberbrunner, garyo@avs.com, 8/9/94 355;;; Added ==, !=, +, and -. Gary Oberbrunner, garyo@avs.com, 8/9/94
356 356
357(defsubst hif-nexttoken ()
358 "Pop the next token from token-list into the let variable \"hif-token\"."
359 (setq hif-token (pop hif-token-list)))
360
357(defun hif-parse-if-exp (hif-token-list) 361(defun hif-parse-if-exp (hif-token-list)
358 "Parse the TOKEN-LIST. Return translated list in prefix form." 362 "Parse the TOKEN-LIST. Return translated list in prefix form."
359 (hif-nexttoken) 363 (hif-nexttoken)
@@ -362,10 +366,6 @@ that form should be displayed.")
362 (if hif-token ; is there still a token? 366 (if hif-token ; is there still a token?
363 (error "Error: unexpected token: %s" hif-token)))) 367 (error "Error: unexpected token: %s" hif-token))))
364 368
365(defsubst hif-nexttoken ()
366 "Pop the next token from token-list into the let variable \"hif-token\"."
367 (setq hif-token (pop hif-token-list)))
368
369(defun hif-expr () 369(defun hif-expr ()
370 "Parse an expression as found in #if. 370 "Parse an expression as found in #if.
371 expr : term | expr '||' term." 371 expr : term | expr '||' term."