%{
#include <stdio.h>
%}

%%
[0-9]+    { printf("Integer Constant: %s\n", yytext); }
.|\n      { /* Ignore all other characters */ }
%%

int yywrap() {
    return 1;
}

int main() {
    printf("Enter an input string: ");
    yylex();
    return 0;
}
