diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-05-22 19:06:26 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-05-22 19:06:26 (GMT) |
commit | 23cd66b707dfed03f619b53e44557b12ba2304c1 (patch) | |
tree | 384d430edc2038d425351da7f0bfb9ee181cfe45 /ds9 | |
parent | 90f368a04030bd4d7665a672e2d498e91bc1a13c (diff) | |
download | blt-23cd66b707dfed03f619b53e44557b12ba2304c1.zip blt-23cd66b707dfed03f619b53e44557b12ba2304c1.tar.gz blt-23cd66b707dfed03f619b53e44557b12ba2304c1.tar.bz2 |
update ds9 parsers
Diffstat (limited to 'ds9')
-rw-r--r-- | ds9/doc/ref/command.html | 6 | ||||
-rw-r--r-- | ds9/doc/ref/samp.html | 6 | ||||
-rw-r--r-- | ds9/doc/ref/xpa.html | 6 | ||||
-rw-r--r-- | ds9/parsers/catparser.tac | 6 |
4 files changed, 13 insertions, 11 deletions
diff --git a/ds9/doc/ref/command.html b/ds9/doc/ref/command.html index c2dce16..e6b0dfd 100644 --- a/ds9/doc/ref/command.html +++ b/ds9/doc/ref/command.html @@ -398,7 +398,7 @@ new catalog search. All other commands operated on the last search created, unless indicated otherwise.</p> <tt> Syntax: <br> - </tt><tt>-catalog []<br> + </tt><tt>-catalog [new]<br> [ned|simbad|denis|skybot]<br> @@ -1078,8 +1078,8 @@ <col>]</tt><br> <tt><br> Example:<br> - </tt><tt>$ds9 -catalog<br> - $ds9 -catalog 2mass<br> + </tt><tt><tt>$ds9 -catalog new<br> + </tt>$ds9 -catalog 2mass<br> $ds9 -catalog cds 2mass<br> $ds9 -catalog cds "I/252"<br> <br> diff --git a/ds9/doc/ref/samp.html b/ds9/doc/ref/samp.html index e5159ba..ad2c840 100644 --- a/ds9/doc/ref/samp.html +++ b/ds9/doc/ref/samp.html @@ -452,7 +452,7 @@ new catalog search. All other commands operated on the last search created, unless indicated otherwise.</p> <tt> Syntax:<br> - </tt><tt>catalog []<br> + </tt><tt>catalog [new]<br> [ned|simbad|denis|skybot]<br> @@ -1124,8 +1124,8 @@ catalog header<br> <br> ds9.set(string cmd)<br> - </tt><tt>catalog<br> - catalog 2mass<br> + </tt><tt><tt>catalog new<br> + </tt>catalog 2mass<br> catalog cds 2mass<br> catalog cds </tt><tt>{I/252}</tt><br> <tt> <br> diff --git a/ds9/doc/ref/xpa.html b/ds9/doc/ref/xpa.html index dc2e838..74fe914 100644 --- a/ds9/doc/ref/xpa.html +++ b/ds9/doc/ref/xpa.html @@ -425,7 +425,7 @@ new catalog search. All other commands operated on the last search created, unless indicated otherwise.</p> <tt> Syntax: <br> - catalog []<br> + catalog [new]<br> [ned|simbad|denis|skybot]<br> @@ -1117,8 +1117,8 @@ $xpaget ds9 catalog<br> </tt><tt>$xpaget ds9 catalog header</tt><br> <tt><br> - $xpaset -p ds9 catalog<br> - $xpaset -p ds9 catalog 2mass<br> + </tt><tt><tt>$xpaset -p ds9 catalog new<br> + </tt>$xpaset -p ds9 catalog 2mass<br> $xpaset -p ds9 catalog cds 2mass<br> $xpaset -p ds9 catalog cds "I/252"<br> <br> diff --git a/ds9/parsers/catparser.tac b/ds9/parsers/catparser.tac index a6b5e17..13a618e 100644 --- a/ds9/parsers/catparser.tac +++ b/ds9/parsers/catparser.tac @@ -108,8 +108,9 @@ command : catalog | catalog {yyclearin; YYACCEPT} STRING_ ; -catalog : {CATTool} - | NEW_ {CATTool} +catalog : NEW_ {CATTool} +# backward compatibility + | {CATTool} | FILE_ STRING_ {CatalogCmdLoad $2 VOTRead} | LOAD_ STRING_ {CatalogCmdLoad $2 VOTRead} | IMPORT_ reader STRING_ {CatalogCmdLoad $3 $2} @@ -119,6 +120,7 @@ catalog : {CATTool} | STRING_ {CatalogCmdRef $1} catCmd # backward compatibility | CDS_ STRING_ {CatalogCmdRef $2} +# backward compatibility | CDS_ STRING_ {CatalogCmdRef $2} catCmd ; |