summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/pslex.fcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-04-18 19:16:03 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-04-18 19:16:03 (GMT)
commitdfe055b55cdcd990b3bfb3d821ebf9e785a90b98 (patch)
treed71a4cac11fee453b70634dfc694f088bc07297f /ds9/parsers/pslex.fcl
parent1eba7f5d0646558a5f31b04c77f939cfa8821a3b (diff)
downloadblt-dfe055b55cdcd990b3bfb3d821ebf9e785a90b98.zip
blt-dfe055b55cdcd990b3bfb3d821ebf9e785a90b98.tar.gz
blt-dfe055b55cdcd990b3bfb3d821ebf9e785a90b98.tar.bz2
add ds9 print parser
Diffstat (limited to 'ds9/parsers/pslex.fcl')
-rw-r--r--ds9/parsers/pslex.fcl36
1 files changed, 36 insertions, 0 deletions
diff --git a/ds9/parsers/pslex.fcl b/ds9/parsers/pslex.fcl
new file mode 100644
index 0000000..ae763a5
--- /dev/null
+++ b/ds9/parsers/pslex.fcl
@@ -0,0 +1,36 @@
+#tab psparser.tab.tcl
+
+%{
+%}
+
+#include defs.fin
+
+%%
+
+color {return $COLOR_}
+command {return $COMMAND_}
+destination {return $DESTINATION_}
+file {return $FILE_}
+filename {return $FILENAME_}
+interpolate {return $INTERPOLATE_}
+level {return $LEVEL_}
+printer {return $PRINTER_}
+resolution {return $RESOLUTION_}
+
+rgb {return $RGB_}
+cmyk {return $CMYK_}
+gray {return $GRAY_}
+
+72 {return $72_}
+screen {return $SCREEN_}
+96 {return $96_}
+144 {return $144_}
+150 {return $150_}
+225 {return $225_}
+300 {return $300_}
+600 {return $600_}
+1200 {return $1200_}
+
+#include string.fin
+
+%%