* Use the new ATermMap.
This commit is contained in:
		
							parent
							
								
									9840368cad
								
							
						
					
					
						commit
						0832956089
					
				
					 10 changed files with 194 additions and 336 deletions
				
			
		|  | @ -115,7 +115,7 @@ static void checkAttrSets(ATerm e) | |||
|     ATermList formals; | ||||
|     ATerm body, pos; | ||||
|     if (matchFunction(e, formals, body, pos)) { | ||||
|         ATermMap names; | ||||
|         ATermMap names(ATgetLength(formals)); | ||||
|         for (ATermIterator i(formals); i; ++i) { | ||||
|             ATerm name; | ||||
|             Expr deflt; | ||||
|  | @ -131,13 +131,13 @@ static void checkAttrSets(ATerm e) | |||
| 
 | ||||
|     ATermList bnds; | ||||
|     if (matchAttrs(e, bnds)) { | ||||
|         ATermMap names; | ||||
|         ATermMap names(ATgetLength(bnds)); | ||||
|         checkAttrs(names, bnds); | ||||
|     } | ||||
|      | ||||
|     ATermList rbnds, nrbnds; | ||||
|     if (matchRec(e, rbnds, nrbnds)) { | ||||
|         ATermMap names; | ||||
|         ATermMap names(ATgetLength(rbnds) + ATgetLength(nrbnds)); | ||||
|         checkAttrs(names, rbnds); | ||||
|         checkAttrs(names, nrbnds); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue