Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- #include <stdio.h>
- #include <stdlib.h>
- }
- %start parse, spec;
- %token nawiaslewy1, nawiaslewy2, nawiasprawy1, nawiasprawy2, exep;
- spec :
- | nawiaslewy2 spec nawiasprawy2 spec
- | nawiaslewy1 spec nawiasprawy1 spec
- | exep
- ;
- {
- int main() {
- parse();
- printf("OK\n");
- return 0;
- }
- LLmessage(int tk) {
- printf("Error code: %d", tk);
- exit(1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement