



		
		 
 The preprocessor which handles
	ICL commands at the top of the source file, introduced by "!%" characters,
	fails to respect non-native EOL characters. For example, consider these two lines of ICL: The second line is ignored if, for example, the source file
	uses the Macintosh line-ending convention (0x0D) but the compiler
	is running on a PC (where the convention is 0x0D0A) or
	under Unix, including Mac OS X (where the convention is 0x0A). Supply a replacement for fgets() which accepts cross-platform EOL characters. 
					
			
		
				 
		About Patches   
				
					 
			Issue C63019     [previous patch]
					
	
	 
	ICL preprocessor mishandles EOL characters 
		Submitted by: Anson Turner
		    Appeared in: Compiler 6.30
		    Fixed in: -
	Problem 
   !% -~S
  !% -D
Solution 
 
						
					
					
					
					
  
    Last updated 17 April 2013.
  
  This site is no longer supported; information may be out of date.
  Maintained as a historical archive by the Interactive Fiction Technology Foundation.
  Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
  
    This page was originally managed by Roger Firth.