# HG changeset patch # User David A. Holland # Date 1434093364 14400 # Node ID 44ea6101906967bd07876a481cd69de939d108b1 # Parent d65a2f2184cb399f8eb5da40e87f289236326837 Accept "-" as the input file, or as the output file. Has no effect (input or output remains stdin and/or stdout respectively) diff -r d65a2f2184cb -r 44ea61019069 CHANGES --- a/CHANGES Fri Jun 12 03:09:48 2015 -0400 +++ b/CHANGES Fri Jun 12 03:16:04 2015 -0400 @@ -1,4 +1,6 @@ pending + - Accept "-" as either input or output file name to mean stdin or + stdout respectively. Suggested by Jonathan Gray. - Fix output spacing behavior to match gcc when newlines appear in or while looking for macro arguments. Partly from Joerg Sonnenberger. - Implement __FILE__ and __LINE__ macros. Mostly from Joerg Sonnenberger. diff -r d65a2f2184cb -r 44ea61019069 main.c --- a/main.c Fri Jun 12 03:09:48 2015 -0400 +++ b/main.c Fri Jun 12 03:16:04 2015 -0400 @@ -1053,7 +1053,7 @@ init(); for (i=1; i