userdiff: support unsigned and long long suffixes of integer constants
Do not split constants such as 123U, 456ll, 789UL at the first U or second L. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
							parent
							
								
									407e07f2a6
								
							
						
					
					
						commit
						abf8f98602
					
				|  | @ -132,7 +132,7 @@ PATTERNS("cpp", | |||
| 	 "^((struct|class|enum)[^;]*)$", | ||||
| 	 /* -- */ | ||||
| 	 "[a-zA-Z_][a-zA-Z0-9_]*" | ||||
| 	 "|[-+0-9.e]+[fFlL]?|0[xXbB]?[0-9a-fA-F]+[lL]?" | ||||
| 	 "|[-+0-9.e]+[fFlL]?|0[xXbB]?[0-9a-fA-F]+[lLuU]*" | ||||
| 	 "|[-+*/<>%&^|=!]=|--|\\+\\+|<<=?|>>=?|&&|\\|\\||::|->\\*?|\\.\\*"), | ||||
| PATTERNS("csharp", | ||||
| 	 /* Keywords */ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Johannes Sixt
						Johannes Sixt