* Refactoring.
This commit is contained in:
		
							parent
							
								
									4b66cebe7b
								
							
						
					
					
						commit
						8a6080eb14
					
				
					 3 changed files with 11 additions and 10 deletions
				
			
		|  | @ -146,12 +146,7 @@ static void processBinding(EvalState & state, Expr e, Derivation & drv, | |||
|     else if (matchUri(e, s)) ss.push_back(aterm2String(s)); | ||||
|     else if (e == eTrue) ss.push_back("1"); | ||||
|     else if (e == eFalse) ss.push_back(""); | ||||
| 
 | ||||
|     else if (matchInt(e, n)) { | ||||
|         ostringstream st; | ||||
|         st << n; | ||||
|         ss.push_back(st.str()); | ||||
|     } | ||||
|     else if (matchInt(e, n)) ss.push_back(int2String(n)); | ||||
| 
 | ||||
|     else if (matchAttrs(e, es)) { | ||||
|         Expr a = queryAttr(e, "type"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue