summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/plotparser.tac
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-04-04 22:08:36 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-04-04 22:08:36 (GMT)
commit9501d6b7fba3514b18d216951543227758a37cbe (patch)
tree4dafcd4d34ac85d9ac2184cfbebe0eb98bbd601f /ds9/parsers/plotparser.tac
parentb0837536c9d51ba03d4b87ce96dc5885537e61b5 (diff)
downloadblt-9501d6b7fba3514b18d216951543227758a37cbe.zip
blt-9501d6b7fba3514b18d216951543227758a37cbe.tar.gz
blt-9501d6b7fba3514b18d216951543227758a37cbe.tar.bz2
add ds9 plot parser
Diffstat (limited to 'ds9/parsers/plotparser.tac')
-rw-r--r--ds9/parsers/plotparser.tac2
1 files changed, 2 insertions, 0 deletions
diff --git a/ds9/parsers/plotparser.tac b/ds9/parsers/plotparser.tac
index 0440cfc..5d08418 100644
--- a/ds9/parsers/plotparser.tac
+++ b/ds9/parsers/plotparser.tac
@@ -36,6 +36,7 @@
%token DUPLICATE_
%token ERROR_
%token ERRORBAR_
+%token FAMILY_
%token FILE_
%token FILENAME_
%token FILL_
@@ -305,6 +306,7 @@ legendPos : RIGHT_ {set _ right}
;
fontt : fontType FONT_ font {PlotCmdUpdateGraph "$1,family" $3}
+ | fontType FAMILY_ font {PlotCmdUpdateGraph "$1,family" $3}
| fontType FONTSIZE_ INT_ {PlotCmdUpdateGraph "$1,size" $3}
| fontType FONTWEIGHT_ fontWeight {PlotCmdUpdateGraph "$1,weight" $3}
| fontType FONTSLANT_ fontSlant {PlotCmdUpdateGraph "$1,slant" $3}