summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/imgsvr.trl
blob: 3cb2c0e8eae56453200593b9cb4072ade0a31d6a (plain)
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
31
32
33
34
35
36
# COORD_ is depricated
# NAME_ is depricated
# new optional WCS_ FK5_, does nothing
# SIZE_ default is DEGREES_

deg : {set _ degrees}
 | DEGREES_ {set _ degrees}
 ;

sex : {set _ sexagesimal}
 | SEXAGESIMAL_ {set _ sexagesimal}
 ;

coordOpt :
 | WCS_
 | FK5_
 | WCS_ FK5_
 ;

sizeOpt : {set _ degrees}
 | skyformat {set _ $1}
 ;

skyformat : DEGREES_ {set _ degrees}
 | ARCMIN_ {set _ arcmin}
 | ARCSEC_ {set _ arcsec}
 ;

frame : NEW_ {set _ new}
 | CURRENT_ {set _ current}
 ;

# | error {
#   yyerror "must be: degrees|arcmin|arcsec"
#   YYABORT
# }