 b79e6925f0
			
		
	
	b79e6925f0
	
	
	
		
			
			The Fortran userdiff patterns, introduced in909a5494f8(userdiff.c: add builtin fortran regex patterns, 2010-09-10), predate the test infrastructure for xfuncname patterns, introduced inbfa7d01413(t4018: an infrastructure to test hunk headers, 2014-03-21). Add tests for the Fortran xfuncname patterns. The test 't/t4018/fortran-comment-keyword' documents a shortcoming of the regex that is fixed in a subsequent commit. While at it, add descriptive comments for the different parts of the regex. Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			249 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			249 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|  module RIGHT
 | |
| 
 | |
|    implicit none
 | |
|    private
 | |
| 
 | |
|    interface letters  ! generic interface
 | |
|       module procedure aaaa, &
 | |
|                        bbbb, &
 | |
|                        ChangeMe, &
 | |
|                        dddd
 | |
|    end interface
 | |
|    
 | |
| end module RIGHT
 |