%default-actions quiet

%scanner ../scanner/scanner.h
%token NR
%print-tokens

%%

lines:
    lines line
|
    line
;

line:
    NR '\n'
    {
        std::cout << "   OK\n";
    }
|
    error '\n'
    {
        std::cout << "  ERROR\n";
    }
;
