From c02940558ef4f2c7b4df9c8b84ac442a876d3fc4 Mon Sep 17 00:00:00 2001 From: William Joye Date: Wed, 6 Jun 2018 15:43:09 -0400 Subject: update ds9 parsers --- ds9/parsers/plotparser.tac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ds9/parsers/plotparser.tac b/ds9/parsers/plotparser.tac index 325cb0a..e201005 100644 --- a/ds9/parsers/plotparser.tac +++ b/ds9/parsers/plotparser.tac @@ -291,11 +291,11 @@ pageSize : LETTER_ {set _ letter} ; print : {global cvarname; PlotPostScript $cvarname} - | DESTINATION_ printDest {global ps; set ps(dest) $2} - | COMMAND_ STRING_ {global ps; set ps(cmd) $2} - | FILENAME_ STRING_ {global ps; set ps(filename) $2} - | PALETTE_ printColor {global ps; set ps(color) $2} - | COLOR_ printColor {global ps; set ps(color) $2} + | DESTINATION_ printDest {ProcessCmdSet ps dest $2} + | COMMAND_ STRING_ {ProcessCmdSet ps cmd $2} + | FILENAME_ STRING_ {ProcessCmdSet ps filename $2} + | PALETTE_ printColor {ProcessCmdSet ps color $2} + | COLOR_ printColor {ProcessCmdSet ps color $2} ; printDest : PRINTER_ {set _ printer} -- cgit v0.12