summaryrefslogtreecommitdiff
path: root/src/bar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/bar.cc')
-rw-r--r--src/bar.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/bar.cc b/src/bar.cc
new file mode 100644
index 0000000000..bb66f2b777
--- /dev/null
+++ b/src/bar.cc
@@ -0,0 +1,18 @@
+#include "bar.hh"
+#include "string.hh"
+#include "molecule.hh"
+#include "paper.hh"
+#include "lookup.hh"
+
+
+Bar::Bar( String t)
+{
+ type = t;
+}
+void
+Bar::preprocess()
+{
+ Symbol s = paper()->lookup_->bar(type);
+ output = new Molecule(Atom(s));
+}
+