@@ -779,20 +779,20 @@ static SEXP R_GetGlobalCacheLoc(SEXP symbol)
779779*/ 
780780
781781R_BindingType  R_GetBindingType (SEXP  sym , SEXP  env ) {
782-     //  We are currently getting the location in the environment twice: 
783-     //  - In `R_BindingIsActive()`
784-     //  - In `Rf_findVarInFrame3()`
785-     //  Ideally we'd do it once, which would require manually walking
786-     //  over the environment frame / hashtable and get the location to
787-     //  inspect.
782+     /*  We are currently getting the location in the environment twice: 
783+         - In `R_BindingIsActive()` 
784+         - In `Rf_findVarInFrame3()` 
785+         Ideally we'd do it once, which would require manually walking 
786+         over the environment frame / hashtable and get the location to 
787+         inspect. */  
788788
789789    if  (TYPEOF (sym ) !=  SYMSXP )
790790	error (_ ("not a symbol" ));
791791    if  (TYPEOF (env ) !=  ENVSXP )
792792	error (_ ("not an environment" ));
793793
794-     //  This check must be before `Rf_findVarInFrame3()` because that 
795-     //  forces active bindings
794+     /*  This check must be before `Rf_findVarInFrame3()` because that 
795+         forces active bindings */  
796796    if  (R_BindingIsActive (sym , env ))
797797        return  R_BindingTypeActive ;
798798
@@ -3630,7 +3630,7 @@ attribute_hidden Rboolean R_HasFancyBindings(SEXP rho)
36303630    }
36313631}
36323632
3633- //  Equivalent to `substitute()`, but only supports promises 
3633+ /*  Equivalent to `substitute()`, but only supports promises */  
36343634SEXP  R_DelayedBindingExpression (SEXP  sym , SEXP  env ) {
36353635    if  (TYPEOF (sym ) !=  SYMSXP )
36363636	error (_ ("not a symbol" ));
@@ -3645,7 +3645,7 @@ SEXP R_DelayedBindingExpression(SEXP sym, SEXP env) {
36453645    if  (PROMISE_IS_EVALUATED (value ))
36463646        error (_ ("not a delayed promise" ));
36473647
3648-     //  This has special handling for bytecode, unlike `PREXPR()` 
3648+     /*  This has special handling for bytecode, unlike `PREXPR()` */  
36493649    return  R_PromiseExpr (value );
36503650}
36513651
@@ -3680,7 +3680,7 @@ SEXP R_ForcedBindingExpression(SEXP sym, SEXP env) {
36803680    if  (!PROMISE_IS_EVALUATED (value ))
36813681        error (_ ("not a forced promise" ));
36823682
3683-     //  This has special handling for bytecode, unlike `PREXPR()` 
3683+     /*  This has special handling for bytecode, unlike `PREXPR()` */  
36843684    return  R_PromiseExpr (value );
36853685}
36863686
0 commit comments