Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use variable in flex rules section #533

Open
sahil-ecosmob opened this issue Jul 14, 2022 · 1 comment
Open

Use variable in flex rules section #533

sahil-ecosmob opened this issue Jul 14, 2022 · 1 comment

Comments

@sahil-ecosmob
Copy link

Hello Everyone. I am new to lexical analysis and flex. I am able to create a generator executable. Now I want to search for a specific string inside the source file that is being analysed. For example "func_test". I want to pass this string as a command line argument to the a.out file like $ ./a.out func_test and then use this string inside the rules section so that it is detected and I can take appropriate action. Can anyone help me on how to do it ?? Thanks in advance.

@Mightyjo
Copy link
Contributor

Mightyjo commented Jul 15, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants