bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pedantic stuff: C++ comments in 1.8.0


From: Mike Gran
Subject: pedantic stuff: C++ comments in 1.8.0
Date: Mon, 27 Feb 2006 19:24:48 -0800 (PST)

There are some C++-style comments in 1.8.0.

*** posix.c     Mon Feb 27 18:38:55 2006
--- posix.c.0   Mon Feb 27 18:29:56 2006
***************
*** 1877,1883 ****
      {
        const int save_errno = errno;
  
!       /* No guile exceptions can occur before we have freed p's
memory. */
        scm_dynwind_end ();
        free (p);
  
--- 1877,1883 ----
      {
        const int save_errno = errno;
  
!       // No guile exceptions can occur before we have freed p's
memory.
        scm_dynwind_end ();
        free (p);
  
***************
*** 1889,1895 ****
        /* scm_from_locale_string may throw an exception.  */
        const SCM name = scm_from_locale_string (p);
  
!       /* No guile exceptions can occur before we have freed p's
memory. */
        scm_dynwind_end ();
        free (p);
  
--- 1889,1895 ----
        /* scm_from_locale_string may throw an exception.  */
        const SCM name = scm_from_locale_string (p);
  
!       // No guile exceptions can occur before we have freed p's
memory.
        scm_dynwind_end ();
        free (p);

*** eval.c      Mon Feb 27 16:26:17 2006
--- eval.c.0    Mon Feb 27 16:24:57 2006
***************
*** 5695,5702 ****
   * hare-and-tortoise implementation, found several times in guile. 
*/
  
  struct t_trace {
!   struct t_trace *trace;  /* These pointers form a trace along the
stack. */
!   SCM obj;                /* The object handled at the respective
stack frame.*/
  };
  
  static SCM
--- 5695,5702 ----
   * hare-and-tortoise implementation, found several times in guile. 
*/
  
  struct t_trace {
!   struct t_trace *trace;  // These pointers form a trace along the
stack.
!   SCM obj;                // The object handled at the respective
stack frame.
  };
  
  static SCM
***************
*** 5751,5757 ****
  
            return new_vector;
          }
!       else /* scm_is_pair (hare->obj) */
          {
            SCM result;
            SCM tail;
--- 5751,5757 ----
  
            return new_vector;
          }
!       else // scm_is_pair (hare->obj)
          {
            SCM result;
            SCM tail;
  


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]