diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-01-04 19:36:40 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-01-04 19:36:40 (GMT) |
commit | 13a0acdf842cd1fe0fd6c0437c631c44b254d5b3 (patch) | |
tree | 4ac5bef4061f69e646f90e77753289cc158ef2d9 /ds9 | |
parent | 5a332c5a21c4f8613cc2c5e407bf6e46f4827818 (diff) | |
download | blt-13a0acdf842cd1fe0fd6c0437c631c44b254d5b3.zip blt-13a0acdf842cd1fe0fd6c0437c631c44b254d5b3.tar.gz blt-13a0acdf842cd1fe0fd6c0437c631c44b254d5b3.tar.bz2 |
fix print cmd
Diffstat (limited to 'ds9')
-rw-r--r-- | ds9/parsers/pslex.fcl | 1 | ||||
-rw-r--r-- | ds9/parsers/psparser.tac | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ds9/parsers/pslex.fcl b/ds9/parsers/pslex.fcl index 208d7b8..43be11b 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} |