summaryrefslogtreecommitdiff
path: root/gcc/mkmap-flat.awk
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-17 12:11:04 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-17 12:11:04 +0000
commit187a44ec3e8ad404b63aca7fc343f011698ab2d5 (patch)
tree6e957cad5a9b6a8086189a2bb0175f2b72b4a7bd /gcc/mkmap-flat.awk
parentf2d510b4bf974d6c56723ce09247a4919d356931 (diff)
downloadgcc-187a44ec3e8ad404b63aca7fc343f011698ab2d5.tar.gz
2009-04-17 Bob Duff <duff@adacore.com>
* output.ads (Indent,Outdent): New procedures for indenting the output. (Write_Char): Correct comment -- LF _is_ allowed. * output.adb (Indent,Outdent): New procedures for indenting the output. Keep track of the indentation level, and make sure it doesn't get too high. (Flush_Buffer): Insert spaces at the beginning of each line, if indentation level is nonzero. (Save_Output_Buffer,Restore_Output_Buffer): Save and restore the current indentation level. (Set_Standard_Error,Set_Standard_Output): Remove superfluous "Next_Col := 1;". Flush_Buffer does that. * sem_ch6.adb, sem_ch7.adb (Debug_Flag_C): Reorganize the output controlled by the -gnatdc switch. It now occurs on entry/exit to the relevant analysis routines, and calls Indent/Outdent to make the indentation reflect the nesting level. Add "helper" routines, since otherwise lots of "return;" statements would skip the debugging output. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146253 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mkmap-flat.awk')
0 files changed, 0 insertions, 0 deletions