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 6303cd9..50200bc 100644
--- a/eo_tokenizer.rl
+++ b/eo_tokenizer.rl
@@ -105,7 +105,7 @@ _eo_tokenizer_class_get(Eo_Tokenizer *toknz, char *p)
alpha_u = alpha | '_';
ident = alpha+ >save_fpc (alnum | '_' )+;
- eo_comment = "/*@" ignore* %save_fpc ( any | '\n' @inc_line )* :>> "*/";
+ eo_comment = "/*@" ignore* alnum_u >save_fpc ( any | '\n' @inc_line )* :>> "*/";
c_comment = "/*" ( any | '\n' @inc_line )* :>> "*/";
cpp_comment = "//" (any - cr)* newline;
comment = ( c_comment | cpp_comment ) > save_line;