diff options
| author | Karl Heuer <kwzh@gnu.org> | 1997-12-04 03:36:09 +0000 | 
|---|---|---|
| committer | Karl Heuer <kwzh@gnu.org> | 1997-12-04 03:36:09 +0000 | 
| commit | 23ce24865924d59a44e36cd50a48fad308261f7d (patch) | |
| tree | dbbaed598bb667917bca9a274310688ccf64b164 /src/mocklisp.c | |
| parent | cd67c79783c5ef7da0defef99d08a7c2d6db7a04 (diff) | |
| download | emacs-23ce24865924d59a44e36cd50a48fad308261f7d.tar.gz | |
Fix comment (avoid spurious "unterminated comment" warning)
Diffstat (limited to 'src/mocklisp.c')
| -rw-r--r-- | src/mocklisp.c | 43 | 
1 files changed, 22 insertions, 21 deletions
| diff --git a/src/mocklisp.c b/src/mocklisp.c index 928edf1cea2..97b19dc5805 100644 --- a/src/mocklisp.c +++ b/src/mocklisp.c @@ -67,27 +67,28 @@ DEFUN ("ml-if", Fml_if, Sml_if, 0, UNEVALLED, 0, "Mocklisp version of `if'.")    return val;  } -/* Now converted to regular "while" by hairier conversion code. -* DEFUN ("ml-while", Fml_while, Sml_while, 1, UNEVALLED, 0, "while  for mocklisp programs") -*   (args) -*      Lisp_Object args; -* { -*   Lisp_Object test, body, tem; -*   struct gcpro gcpro1, gcpro2; -* -*   GCPRO2 (test, body); -* -*   test = Fcar (args); -*   body = Fcdr (args); -*   while (tem = Feval (test), XINT (tem)) -*     { -*       QUIT; -*       Fprogn (body); -*    } -* -*   UNGCPRO; -*   return Qnil; -*} +#if 0 /* Now converted to regular "while" by hairier conversion code.  */ +/**/DEFUN ("ml-while", Fml_while, Sml_while, 1, UNEVALLED, 0, "while  for mocklisp programs") +  (args) +     Lisp_Object args; +{ +  Lisp_Object test, body, tem; +  struct gcpro gcpro1, gcpro2; + +  GCPRO2 (test, body); + +  test = Fcar (args); +  body = Fcdr (args); +  while (tem = Feval (test), XINT (tem)) +    { +      QUIT; +      Fprogn (body); +   } + +  UNGCPRO; +  return Qnil; +} +#endif  /* This is the main entry point to mocklisp execution.   When eval sees a mocklisp function being called, it calls here | 
