From 892c323f7851c76bf678369987c5c7a361626ea2 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Thu, 6 Jan 2011 23:31:51 +0100 Subject: Added a rudimentary CLI to the note compiler + bugfix --- note_compiler/main.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'note_compiler/main.cpp') diff --git a/note_compiler/main.cpp b/note_compiler/main.cpp index 3015551..38302ef 100644 --- a/note_compiler/main.cpp +++ b/note_compiler/main.cpp @@ -802,9 +802,17 @@ void generate_source() int main(int argc, char** argv) { - prog=parse("../../filtertest.prog"); + try + { + cerr << "parsing '"<