diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /noao/digiphot/photcal/lib/prdefs.h | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/digiphot/photcal/lib/prdefs.h')
-rw-r--r-- | noao/digiphot/photcal/lib/prdefs.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/noao/digiphot/photcal/lib/prdefs.h b/noao/digiphot/photcal/lib/prdefs.h new file mode 100644 index 00000000..3f60a528 --- /dev/null +++ b/noao/digiphot/photcal/lib/prdefs.h @@ -0,0 +1,30 @@ +# PRDEFS.H -- Parser definitions. + + +# ---------------------------------------------------------------------- +# Severity error codes. +define PERR_WARNING 1 # warning +define PERR_SYNTAX 2 # syntax error +define PERR_SEMANTIC 3 # semantic error +define PERR_POSTPROC 4 # post processing error + + +# ---------------------------------------------------------------------- +# Equation sections. Equations are divided in sections by the parser, to +# take different semantic actions over expressions depending on the section. + +define PRS_SETEQ 1 # beginning of set equation + +define PRS_TRNREF 2 # transformation reference equation +define PRS_TRNFIT 3 # transformation fitting equation +define PRS_TRNDER 4 # transformation derivative equations +define PRS_TRNPLOT 5 # transformation plot equations + +define PRS_ERREQ 6 # error equation +define PRS_WTSEQ 7 # weight equation +define PRS_LMTEQ 8 # limit equations + +# ------------------------------------------------------------------------- +# Define some default parameter values + +define DEF_PFITDELTA 0.1 |