diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-25 11:42:10 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-25 11:42:10 +0100 |
commit | 2a2565431c0c13d651d574326b7e9f676dd2896b (patch) | |
tree | 1cb02eea56b8b5936320113467fdc273fa623240 | |
parent | 052b8c9cb9a4dd165d147477546d63ac08598fc6 (diff) | |
download | eo_tokenizer-2a2565431c0c13d651d574326b7e9f676dd2896b.zip eo_tokenizer-2a2565431c0c13d651d574326b7e9f676dd2896b.tar.gz |
update test data
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | data/01_comments.c (renamed from data/comments.c) | 5 | ||||
-rw-r--r-- | data/02_classes.c | 42 |
3 files changed, 45 insertions, 6 deletions
@@ -32,8 +32,8 @@ eo_tokenizer.png: eo_tokenizer.dot eo_tokenizer: main.c eo_tokenizer.c eo_tokenizer.h -test-comments: eo_tokenizer - $(LOG) ./eo_tokenizer ./data/comments.c +test: eo_tokenizer + $(LOG) ./eo_tokenizer ./data/*.c clean: rm -f *~ *.o *.dot *.png *.xml $(BIN).c $(BIN) diff --git a/data/comments.c b/data/01_comments.c index 5fd0216..67eaa90 100644 --- a/data/comments.c +++ b/data/01_comments.c @@ -14,7 +14,4 @@ comment:11-15 *
* *//*comment 15-16
*/
-
- Evas_object {
- inherits { Eo_Base, Evas_Common_Interface }
-}
+FAIL NOW !
diff --git a/data/02_classes.c b/data/02_classes.c new file mode 100644 index 0000000..73461f9 --- /dev/null +++ b/data/02_classes.c @@ -0,0 +1,42 @@ +
+/*
+ * this is my sandbox
+ */
+
+
+ A_class_B {
+ /* leave
+ * a
+ * comment
+ * here
+ */
+ inherits {}
+ inherits { Eo_Base }
+ inherits { Eo_Another, Evas_Common_Interface }
+}
+
+C_class_D {
+
+ // haha
+ inherits { Eo_Another, Evas_Common_Interface }
+ // hoho
+}
+
+ Cvas_objecD
+{
+
+ /* blah */
+ //
+ /*
+ * bloh
+ */
+}
+
+E_class_F
+ {
+ /* */
+ inherits {}
+
+ }
+
+FAIL NOW !
|