I am trying to create a flex script, which is capable of scanning any give C-file.
Everything goes all right when I only put definitions into my lex file.
However, if I ever put a single rule into the rule section, flex
returns such an error msg: "scanc.lex:14: unrecognized rule"
I am attaching my lex file to this email, any correction/suggestion/advise would be appreciated. James