Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %{
- #include <stdio.h>
- %}
- %%
- [a-zA-Z][a-zA-Z0-9]* printf("WORD ");
- [a-zA-Z0-9\/.-]+ printf("FILENAME ");
- \" printf("QUOTE ");
- \{ printf("OBRACE ");
- \} printf("EBRACE ");
- ; printf("SEMICOLON ");
- \n printf("\n");
- [ \t]+ /* ignore whitespace */;
- %%
Advertisement
Add Comment
Please, Sign In to add comment