Moving fake nested function out of nesting.
This commit is contained in:
		
							parent
							
								
									c60bd0aae2
								
							
						
					
					
						commit
						733b8eba57
					
				| @ -235,11 +235,9 @@ iterate_interesting (const System sys, const Term goalterm, int (*func) ()) | |||||||
|   return true; |   return true; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| //! Determine whether a goal is impossible to satisfy because of the hidelevel lemma.
 | //! Simple check for next function
 | ||||||
| int | int | ||||||
| hidelevelImpossible (const System sys, const Term goalterm) | possible (unsigned int l, unsigned int lmin, unsigned int lprot, | ||||||
| { |  | ||||||
|   int possible (unsigned int l, unsigned int lmin, unsigned int lprot, |  | ||||||
| 	  unsigned int lknow) | 	  unsigned int lknow) | ||||||
| { | { | ||||||
|   if (l < lmin) |   if (l < lmin) | ||||||
| @ -250,6 +248,10 @@ hidelevelImpossible (const System sys, const Term goalterm) | |||||||
|   return true; |   return true; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | //! Determine whether a goal is impossible to satisfy because of the hidelevel lemma.
 | ||||||
|  | int | ||||||
|  | hidelevelImpossible (const System sys, const Term goalterm) | ||||||
|  | { | ||||||
|   return !iterate_interesting (sys, goalterm, possible); |   return !iterate_interesting (sys, goalterm, possible); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user