aboutsummaryrefslogtreecommitdiff
path: root/src/tests/mmparse.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tests/mmparse.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/tests/mmparse.cpp b/src/tests/mmparse.cpp
deleted file mode 100644
index c1ce862..0000000
--- a/src/tests/mmparse.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
1/*
2 * Copyright (C) 2007-2011 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8#include "bu/minimacro.h"
9#include "bu/string.h"
10
11int main()
12{
13 Bu::MiniMacro mm;
14
15 mm.addVar("name", "Mike");
16 mm.addVar("age", "no");
17
18 printf("%s\n", mm.parse("Hey there {=name:toupper():tolower()}, how are you?").getStr() );
19
20 return 0;
21}
22