diff --git a/lex.c b/lex.c index e2a83da..fe519e7 100644 --- a/lex.c +++ b/lex.c @@ -23,7 +23,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.197 2015/03/14 05:23:15 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.198 2015/03/20 23:37:39 tg Exp $"); /* * states while lexing word @@ -1080,8 +1080,7 @@ yylex(int cf) * pushed into an SREREAD) which is what * we want here anyway: find out whether * the alias name is followed by a POSIX - * function definition (only the opening - * parenthesis is checked though) + * function definition */ ++cp; /* prefer functions over aliases */