summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-11-27 16:38:12 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-11-27 16:38:12 +0100
commitf9867a313fe7c2b191b22059180c12eea7f9d7af (patch)
treec4f377320a16060c1fda193d48b18b06965ca8a6
parent5f4642a8767f927a150710310c3d4c87b998b05d (diff)
downloadeo_tokenizer-f9867a313fe7c2b191b22059180c12eea7f9d7af.zip
eo_tokenizer-f9867a313fe7c2b191b22059180c12eea7f9d7af.tar.gz
rettype keword -> return
-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;