Imported from ../bash-2.02.tar.gz.
This commit is contained in:
		
					parent
					
						
							
								e8ce775db8
							
						
					
				
			
			
				commit
				
					
						cce855bc5b
					
				
			
		
					 323 changed files with 33916 additions and 12321 deletions
				
			
		| 
						 | 
				
			
			@ -121,7 +121,20 @@
 | 
			
		|||
#ifdef ESC
 | 
			
		||||
#undef ESC
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define ESC CTRL('[')
 | 
			
		||||
 | 
			
		||||
#ifndef ISOCTAL
 | 
			
		||||
#define ISOCTAL(c)      ((c) >= '0' && (c) <= '7')
 | 
			
		||||
#endif
 | 
			
		||||
#define OCTVALUE(c)     ((c) - '0')
 | 
			
		||||
 | 
			
		||||
#ifndef isxdigit
 | 
			
		||||
#  define isxdigit(c)   (isdigit((c)) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F'))
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define HEXVALUE(c) \
 | 
			
		||||
  (((c) >= 'a' && (c) <= 'f') \
 | 
			
		||||
  	? (c)-'a'+10 \
 | 
			
		||||
  	: (c) >= 'A' && (c) <= 'F' ? (c)-'A'+10 : (c)-'0')
 | 
			
		||||
 | 
			
		||||
#endif  /* _CHARDEFS_H_ */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue