Mercurial > hg > octave-lyh
diff scripts/plot/__print_parse_opts__.m @ 11589:b0084095098e
missing semicolons in script files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 18:26:09 -0500 |
parents | c792872f8942 |
children | 952e52dda82e |
line wrap: on
line diff
--- a/scripts/plot/__print_parse_opts__.m +++ b/scripts/plot/__print_parse_opts__.m @@ -123,7 +123,7 @@ arg_st.ghostscript.binary = file_in_path (getenv ("PATH"), arg(3:end)); if (isempty (arg_st.ghostscript.binary)) error ("print: Ghostscript binary ""%s"" could not be located", - arg(3:end)) + arg(3:end)); else arg_st.ghostscript_binary = __quote_path__ (arg_st.ghostscript_binary); endif @@ -261,11 +261,11 @@ endif else arg_st.append_to_file = false; - warning ("print.m: appended output requires ghostscript to be installed") + warning ("print.m: appended output requires ghostscript to be installed"); endif else warning ("print.m: appended output is not supported for device '%s'", - arg_st.devopt) + arg_st.devopt); arg_st.append_to_file = false; endif endif @@ -344,16 +344,16 @@ if (warn_on_missing_binary) if (isempty (arg_st.ghostscript.binary)) - warning ("print:missinggs", "print.m: Ghostscript binary is not available") + warning ("print:missinggs", "print.m: Ghostscript binary is not available"); endif if (isempty (arg_st.epstool_binary)) - warning ("print:missinggs", "print.m: epstool binary is not available") + warning ("print:missinggs", "print.m: epstool binary is not available"); endif if (isempty (arg_st.fig2dev_binary)) - warning ("print:missinggs", "print.m: fig2dev binary is not available") + warning ("print:missinggs", "print.m: fig2dev binary is not available"); endif if (isempty (arg_st.pstoedit_binary)) - warning ("print:missinggs", "print.m: pstoedit binary is not available") + warning ("print:missinggs", "print.m: pstoedit binary is not available"); endif warn_on_missing_binary = false; endif @@ -436,7 +436,7 @@ gs_binaries = {GSC}; elseif (! isempty (GSC) && warn_on_bad_gsc) warning ("print:badgscenv", - "print.m: GSC environment variable not set properly") + "print.m: GSC environment variable not set properly"); warn_on_bad_gsc = false; gs_binaries = {}; else @@ -456,7 +456,7 @@ endwhile if (warn_on_no_ghostscript && isempty (ghostscript_binary)) warning ("print:noghostscript", - "print.m: ghostscript not found in PATH") + "print.m: ghostscript not found in PATH"); warn_on_no_ghostscript = false; endif endif @@ -490,7 +490,7 @@ endwhile if (isempty (data.(binary).bin) && data.(binary).warn_on_absence) warning (sprintf ("print:no%s", binary), - "print.m: '%s' not found in PATH", binary) + "print.m: '%s' not found in PATH", binary); data.(binary).warn_on_absence = false; endif endif @@ -571,7 +571,7 @@ value = value * 72 / 25.4; case "normalized" error ("print:customnormalized", - "print.m: papersize=='<custom>' and paperunits='normalized' may not be combined") + "print.m: papersize=='<custom>' and paperunits='normalized' may not be combined"); endswitch endfunction