dis_sql/src/sql_iff.cxx
//
// iff_ast_loc - Output line/column number location pair (start end)
//
// Line numbers are one-relative, so 0 indicates that no location
// information is known and therefore not output.
//
Output line/column number location pair (start end)
Line numbers are one-relative, so 0 indicates that no location
information is known and therefore not output.
Output line / column number location pair ( start end ) Line numbers are one - relative so 0 indicates that no location information is known and therefore not output .
static int iff_ast_loc (ast_loc start, ast_loc end)
{
   if (start.lineno) {
      if (fprintf (iff_fp, " %d/%d", start.lineno, start.column) < 0) {
	 return (iff_io_error ());
      }
      if (end.lineno) {
	    if (fprintf (iff_fp, " %d/%d", end.lineno, end.column) < 0) {
	       return (iff_io_error ());
	    }
      }
   }
   return (0);
}
static int iff_ast_loc ( ast_loc start , ast_loc end ) { if ( start . lineno ) { if ( fprintf ( iff_fp , " " , start . lineno , start . column ) < 0 ) { return ( iff_io_error ( ) ) ; } if ( end . lineno ) { if ( fprintf ( iff_fp , " " , end . lineno , end . column ) < 0 ) { return ( iff_io_error ( ) ) ; } } } return ( 0 ) ; }
iff_ast_loc - Output line/column number location pair (start end)
Line numbers are one-relative, so 0 indicates that no location
information is known and therefore not output.
iff_ast_loc - Output line / column number location pair ( start end ) Line numbers are one - relative so 0 indicates that no location information is known and therefore not output .