%scanner scanner/scanner.h %token i %% S: L '=' R | R { cout << "Hello world\n"; } ; L: '*' R | i ; R: L ;