summaryrefslogtreecommitdiffstats
path: root/ds9/parsers
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-01-05 21:00:05 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-01-05 21:00:05 (GMT)
commitb79546a540f7d856c811d39024f0b47620ba0645 (patch)
tree0ae173371fb8a7da98a5df41c9b4f87ab7cf274f /ds9/parsers
parent4277a6113e6fdd23f8d80507ded899ff2f6ccf51 (diff)
parent0af2c4f73a9152637afc86b87307e4af1cd06295 (diff)
downloadblt-b79546a540f7d856c811d39024f0b47620ba0645.zip
blt-b79546a540f7d856c811d39024f0b47620ba0645.tar.gz
blt-b79546a540f7d856c811d39024f0b47620ba0645.tar.bz2
Merge branch 'r8.0'
modified: ds9/doc/release/r8.0.html modified: ds9/library/ds9.tcl modified: ds9/library/help.tcl modified: ds9/library/prefs.tcl modified: ds9/library/samp.tcl modified: ds9/library/util.tcl modified: ds9/parsers/pslex.fcl modified: ds9/parsers/psparser.tac
Diffstat (limited to 'ds9/parsers')
-rw-r--r--ds9/parsers/pslex.fcl1
-rw-r--r--ds9/parsers/psparser.tac2
2 files changed, 3 insertions, 0 deletions
diff --git a/ds9/parsers/pslex.fcl b/ds9/parsers/pslex.fcl
index 208d7b8..fe13465 100644
--- a/ds9/parsers/pslex.fcl
+++ b/ds9/parsers/pslex.fcl
@@ -14,6 +14,7 @@ file {return $FILE_}
filename {return $FILENAME_}
interpolate {return $INTERPOLATE_}
level {return $LEVEL_}
+palette {return $PALETTE_}
printer {return $PRINTER_}
resolution {return $RESOLUTION_}
diff --git a/ds9/parsers/psparser.tac b/ds9/parsers/psparser.tac
index 6bd877c..56e3f35 100644
--- a/ds9/parsers/psparser.tac
+++ b/ds9/parsers/psparser.tac
@@ -13,6 +13,7 @@
%token FILENAME_
%token INTERPOLATE_
%token LEVEL_
+%token PALETTE_
%token PRINTER_
%token RESOLUTION_
@@ -48,6 +49,7 @@ ps : {PostScript}
| RESOLUTION_ resolution {ProcessCmdSet ps resolution $2}
#backward compatibility
| INTERPOLATE_
+ | PALETTE_ color {ProcessCmdSet ps color $2}
;
dest : PRINTER_ {set _ printer}