![]() ![]() To change any remaining string of blanks or tabs to a single blank, add another rule: No action is specified, so the program generated by Lex (yylex) will ignore these characters. and the $ indicates end of line, as in QED. The brackets indicate the character class made of blank and tab the indicates one or more. This rule contains a regular expression which matches one or more instances of the characters blank or tab (written \t for visibility, in accordance with the C language convention) just prior to the end of a line. The program contains a %% delimiter to mark the beginning of the rules, and one rule. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |