summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-06-08 17:55:35 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-06-08 17:55:35 (GMT)
commitedd6f0fce01d36b3e91f8a847d640a42416f6936 (patch)
treefc13a0a6ede56961bbdce00d7a453545cfff85f0
parent7954f7524b231684a5c2dfc7991db7f687454cc1 (diff)
downloadblt-edd6f0fce01d36b3e91f8a847d640a42416f6936.zip
blt-edd6f0fce01d36b3e91f8a847d640a42416f6936.tar.gz
blt-edd6f0fce01d36b3e91f8a847d640a42416f6936.tar.bz2
update ds9 parsers
-rw-r--r--ds9/parsers/colorbarsendlex.fcl2
-rw-r--r--ds9/parsers/colorbarsendparser.tac2
-rw-r--r--ds9/parsers/font.fin5
-rw-r--r--ds9/parsers/font.tin5
-rw-r--r--ds9/parsers/gridsendlex.fcl2
-rw-r--r--ds9/parsers/gridsendparser.tac2
6 files changed, 14 insertions, 4 deletions
diff --git a/ds9/parsers/colorbarsendlex.fcl b/ds9/parsers/colorbarsendlex.fcl
index 7ba4482..ab00f22 100644
--- a/ds9/parsers/colorbarsendlex.fcl
+++ b/ds9/parsers/colorbarsendlex.fcl
@@ -15,7 +15,7 @@ space {return $SPACE_}
ticks {return $TICKS_}
value {return $VALUE_}
-#include fonts.fin
+#include font.fin
#include ws.fin
%%
diff --git a/ds9/parsers/colorbarsendparser.tac b/ds9/parsers/colorbarsendparser.tac
index ae13d21..35ffde0 100644
--- a/ds9/parsers/colorbarsendparser.tac
+++ b/ds9/parsers/colorbarsendparser.tac
@@ -1,7 +1,7 @@
%{
%}
-#include fonts.tin
+#include font.tin
%start colorbarsend
diff --git a/ds9/parsers/font.fin b/ds9/parsers/font.fin
new file mode 100644
index 0000000..45bc720
--- /dev/null
+++ b/ds9/parsers/font.fin
@@ -0,0 +1,5 @@
+font {return $FONT_}
+fontsize {return $FONTSIZE_}
+fontslant {return $FONTSLANT_}
+fontstyle {return $FONTSTYLE_}
+fontweight {return $FONTWEIGHT_}
diff --git a/ds9/parsers/font.tin b/ds9/parsers/font.tin
new file mode 100644
index 0000000..830c523
--- /dev/null
+++ b/ds9/parsers/font.tin
@@ -0,0 +1,5 @@
+%token FONT_
+%token FONTSIZE_
+%token FONTSLANT_
+%token FONTSTYLE_
+%token FONTWEIGHT_
diff --git a/ds9/parsers/gridsendlex.fcl b/ds9/parsers/gridsendlex.fcl
index bd75593..7e27d79 100644
--- a/ds9/parsers/gridsendlex.fcl
+++ b/ds9/parsers/gridsendlex.fcl
@@ -46,7 +46,7 @@ vertical {return $VERTICAL_}
view {return $VIEW_}
width {return $WIDTH_}
-#include fonts.fin
+#include font.fin
#include ws.fin
%%
diff --git a/ds9/parsers/gridsendparser.tac b/ds9/parsers/gridsendparser.tac
index d35d0e6..96d8d12 100644
--- a/ds9/parsers/gridsendparser.tac
+++ b/ds9/parsers/gridsendparser.tac
@@ -1,7 +1,7 @@
%{
%}
-#include fonts.tin
+#include font.tin
%start gridsend