-
-
Save Sleepful/4e8e758ac1e308093e30f71850207a89 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* the "incl" state is used for picking up the name | |
* of an include file | |
*/ | |
%x incl | |
%{ | |
%} | |
%% | |
"include \"" BEGIN(incl); | |
<incl>[a-zA-Z_]+ {ECHO;} | |
<incl>"\"" {BEGIN(INITIAL);} | |
<incl>[ ]* {} | |
<incl>. {} | |
. {} | |
%% | |
int yywrap{ | |
return 1;} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment