int ErrorCnt=0; %Start OK %% "<"[A-Z]">" ; .|"\n" ECHO; ^.*"END GRAMMAR".*$ exit(0); ^.*"START GRAMMAR".*$ BEGIN OK; .|"\n" ; %%