[Dd]og SUB("Dawg");
[Ll]awyer |
[Ll]egal{BW}counc[ei]l |
-[Ll]egal{BW}councellor |
+[Ll]egal{BW}councillor |
[Aa]ttorney |
[Aa]ttorney{BW}[Aa]t{BW}[Ll]aw SUB("City slicker");
{SW}[Aa]t{BW}all{EW} *(yytext+1)=(char)'A'; SESUB("A tall");
{SW}[Aa]m{EW} |
-{SW}[Aa]re{EW} SESUB("Is");
{SW}[Ww]as{EW} |
{SW}[Ww]ere{EW} SESUB("Wuz");
{SW}[Ww]asn't{EW} SESUB("Wasunt");
{SW}[Tt]oo{EW} SESUB("Besides");
{SW}[Tt]o{EW} SESUB("Tuh");
{SW}[Aa][n]?{EW} SESUB("Ah");
-{SW}[Aa]re{EW} |
{SW}[Oo]ur{EW} |
{SW}[Oo]r{EW} SESUB("Ore");
{SW}[Oo]f{EW} SESUB("Uv");
! SUB(". Ye DAWGies!!!");
%%
-
-main()
-{
- yylex();
-}
-