about summary refs log tree commit diff
path: root/src/fix-ng/parser.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-10-30T16·18+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-10-30T16·18+0000
commit9f8f39aa3cdb54532a85e41f14985fc6a530fb36 (patch)
treee06ef3485f7f8bd27a7acf1e1ab694c532660218 /src/fix-ng/parser.hh
parente537844f4ebc53df13f52722fb16bbeb1f4cbd18 (diff)
* Clean up the imploded parse tree. Quotes around strings are
  removed, paths are absolutised relative to the path containing the
  expression we just parsed, and integer literals are converted to
  actual integers.

Diffstat (limited to 'src/fix-ng/parser.hh')
-rw-r--r--src/fix-ng/parser.hh9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/fix-ng/parser.hh b/src/fix-ng/parser.hh
index 80e266f2d5ae..c56a339a3f7c 100644
--- a/src/fix-ng/parser.hh
+++ b/src/fix-ng/parser.hh
@@ -1,15 +1,10 @@
 #ifndef __PARSER_H
 #define __PARSER_H
 
-#include <string>
-#include <aterm2.h>
+#include "fix-expr.hh"
 
-#include "util.hh"
 
-
-typedef ATerm Expr;
-
-Expr parseExprFromFile(const Path & path);
+Expr parseExprFromFile(Path path);
 
 
 #endif /* !__PARSER_H */