Use proper quotes everywhere
This commit is contained in:
		
							parent
							
								
									373fad75e1
								
							
						
					
					
						commit
						11849a320e
					
				
					 54 changed files with 548 additions and 543 deletions
				
			
		| 
						 | 
				
			
			@ -212,7 +212,7 @@ void ExprVar::bindVars(const StaticEnv & env)
 | 
			
		|||
    /* Otherwise, the variable must be obtained from the nearest
 | 
			
		||||
       enclosing `with'.  If there is no `with', then we can issue an
 | 
			
		||||
       "undefined variable" error now. */
 | 
			
		||||
    if (withLevel == -1) throw UndefinedVarError(format("undefined variable `%1%' at %2%") % name % pos);
 | 
			
		||||
    if (withLevel == -1) throw UndefinedVarError(format("undefined variable ‘%1%’ at %2%") % name % pos);
 | 
			
		||||
 | 
			
		||||
    fromWith = true;
 | 
			
		||||
    this->level = withLevel;
 | 
			
		||||
| 
						 | 
				
			
			@ -364,7 +364,7 @@ void ExprLambda::setName(Symbol & name)
 | 
			
		|||
 | 
			
		||||
string ExprLambda::showNamePos() const
 | 
			
		||||
{
 | 
			
		||||
    return (format("%1% at %2%") % (name.set() ? "`" + (string) name + "'" : "anonymous function") % pos).str();
 | 
			
		||||
    return (format("%1% at %2%") % (name.set() ? "‘" + (string) name + "’" : "anonymous function") % pos).str();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue