Skip to content

Commit

Permalink
Update lex2.l
Browse files Browse the repository at this point in the history
  • Loading branch information
jcachuryb committed Oct 29, 2014
1 parent 81f93ca commit a96b090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch03/3.5/src/lex2.l
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ word {letter}+
if (starts_vowel(yytext))
printf("%say", yytext);
else
printf("%s%cay", yytext+1, yytext[0]);
printf("%s%cay", yytext+1, yytext[0]);}
. { printf("%s", yytext); }
%%

Expand Down

0 comments on commit a96b090

Please sign in to comment.