summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--data/02_classes.c18
-rw-r--r--eo_tokenizer.rl3
2 files changed, 10 insertions, 11 deletions
diff --git a/data/02_classes.c b/data/02_classes.c
index 5d8cdc8..04cfd29 100644
--- a/data/02_classes.c
+++ b/data/02_classes.c
@@ -10,18 +10,18 @@
* comment
* here
*/
- inherits {}
- inherits { Eo_Base }
- inherits { Eo_Another, Evas_Common_Interface }
-}
+ inherits {};
+ inherits { Eo_Base };
+ inherits { Eo_Another, Evas_Common_Interface };
+};
C_class_D {
/*@ This is a comment for class C_class_D. */
// haha
- inherits { Eo_Another, Evas_Common_Interface }
+ inherits { Eo_Another, Evas_Common_Interface };
// hoho
-}
+};
Cvas_objecD
{
@@ -31,13 +31,13 @@ C_class_D {
/*
* bloh
*/
-}
+};
E_class_F
{
/* */
- inherits {}
+ inherits {};
- }
+ };
FAIL NOW !
diff --git a/eo_tokenizer.rl b/eo_tokenizer.rl
index 44e344e..cd39a0a 100644
--- a/eo_tokenizer.rl
+++ b/eo_tokenizer.rl
@@ -108,9 +108,8 @@ _eo_tokenizer_class_get(Eo_Tokenizer *toknz, char *p)
alnum_u = alnum | '_';
alpha_u = alpha | '_';
- end_statement = ';';
begin_def = '{';
- end_def = '}';
+ end_def = '};';
begin_list = '{';
end_list = '}';
list_separator = ',';