Skip to content

Instantly share code, notes, and snippets.

@pcyu16
Created April 18, 2010 21:49
Show Gist options
  • Select an option

  • Save pcyu16/370572 to your computer and use it in GitHub Desktop.

Select an option

Save pcyu16/370572 to your computer and use it in GitHub Desktop.
basic lex file
%{
int yywarp(void);
%}
%%
%%
int main()
{
yylex();
return 0;
}
int yywrap(void)
{
return 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment