summaryrefslogtreecommitdiffstats
path: root/eo_tokenizer.rl
diff options
context:
space:
mode:
Diffstat (limited to 'eo_tokenizer.rl')
-rw-r--r--eo_tokenizer.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/eo_tokenizer.rl b/eo_tokenizer.rl
index e7cab37..86e3b30 100644
--- a/eo_tokenizer.rl
+++ b/eo_tokenizer.rl
@@ -209,7 +209,7 @@ _eo_tokenizer_accessor_get(Eo_Tokenizer *toknz, Eo_Accessor_Type type)
}
rettype_comment = ws* eo_comment %end_rettype_comment;
- rettype = 'rettype' ws+ '=' ws+ alpha+ >save_fpc (alnum_u | '*' | ws )+ %end_rettype end_statement rettype_comment?;
+ rettype = 'return' ws+ '=' ws+ alpha+ >save_fpc (alnum_u | '*' | ws )+ %end_rettype end_statement rettype_comment?;
legacy_item = ident %end_legacy_name ignore*;
legacy_item_next = list_separator ignore* legacy_item;