No problem with that fix (that is good) but I have a question. What do you have with only one character?
On 03/29/2014 11:11 PM, Mike Blumenkrantz wrote: > discomfitor pushed a commit to branch master. > > http://git.enlightenment.org/core/efl.git/commit/?id=3a0e1608690be32d687d51a4e1c598d01fa97884 > > commit 3a0e1608690be32d687d51a4e1c598d01fa97884 > Author: zmike <[email protected]> > Date: Sat Mar 29 16:08:49 2014 -0400 > > eolian stop failing on single character tokens plz > > regexes are hrrd. "token1+" + "token2+" does not match a single > character string. > --- > src/lib/eolian/eo_lexer.rl | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/src/lib/eolian/eo_lexer.rl b/src/lib/eolian/eo_lexer.rl > index e30ba1e..e407b94 100644 > --- a/src/lib/eolian/eo_lexer.rl > +++ b/src/lib/eolian/eo_lexer.rl > @@ -405,9 +405,9 @@ _eo_tokenizer_implement_get(Eo_Tokenizer *toknz, char *p) > > alnum_u = alnum | '_'; > alpha_u = alpha | '_'; > - ident = alpha+ >save_fpc (alnum | '_' )+; > - event = alpha+ >save_fpc (alnum | '_' | ',' )+; > - class_meth = alpha+ >save_fpc (alnum | '_' | '::' )+; > + ident = alpha+ >save_fpc (alnum | '_' )*; > + event = alpha+ >save_fpc (alnum | '_' | ',' )*; > + class_meth = alpha+ >save_fpc (alnum | '_' | '::' )*; > > eo_comment = "/*@" ignore* ('@' | alnum_u) >save_fpc ( any | cr > @inc_line )* :>> "*/"; > c_comment = "/*" ( any | cr @inc_line )* :>> "*/"; > ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
