%default-actions quiet
%scanner ../scanner/scanner.h

%token NR

%%

lines:
    lines expr ';'
|
    // empty
;

expr:
    NR
    {
        std::cout << d_scanner.matched() << '\n';
    }
|
    error
    {
        std::cout << "oops...\n";
    }
;
