aboutsummaryrefslogtreecommitdiff
path: root/noao/digiphot/photcal/lib/prdefs.h
blob: 3f60a528ff3ca303fe76f10fc37f674b034fee92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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