mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-26 17:29:21 +00:00 
			
		
		
		
	fix regression in str
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									fda59f5a24
								
							
						
					
					
						commit
						e9ed3af455
					
				
					 2 changed files with 1 additions and 3 deletions
				
			
		|  | @ -100,7 +100,6 @@ namespace smt { | |||
|             // valid C strings can't contain the null byte ('\0')
 | ||||
|             charSetSize = 255; | ||||
|             char_set.resize(256, 0);             | ||||
|             charSetLookupTable.resize(256, 0); | ||||
|             int idx = 0; | ||||
|             // small letters
 | ||||
|             for (int i = 97; i < 123; i++) { | ||||
|  | @ -160,7 +159,6 @@ namespace smt { | |||
|             const char setset[] = { 'a', 'b', 'c' }; | ||||
|             int fSize = sizeof(setset) / sizeof(char); | ||||
|             char_set.resize(fSize, 0); | ||||
|             charSetLookupTable.resize(fSize, 0); | ||||
|             charSetSize = fSize; | ||||
|             for (int i = 0; i < charSetSize; i++) { | ||||
|                 char_set[i] = setset[i]; | ||||
|  |  | |||
|  | @ -331,7 +331,7 @@ protected: | |||
|     std::map<expr*, nfa> regex_nfa_cache; // Regex term --> NFA
 | ||||
| 
 | ||||
|     svector<char> char_set; | ||||
|     svector<int>  charSetLookupTable; | ||||
|     std::map<char, int>  charSetLookupTable; | ||||
|     int           charSetSize; | ||||
| 
 | ||||
|     obj_pair_map<expr, expr, expr*> concat_astNode_map; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue