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

Fixes DFA/NFA returning incorrect tc in some cases #21

Merged
merged 7 commits into from
Feb 27, 2018
Merged

Fixes DFA/NFA returning incorrect tc in some cases #21

merged 7 commits into from
Feb 27, 2018

Conversation

timtadh
Copy link
Owner

@timtadh timtadh commented Feb 23, 2018

In response to #20 I added some test for python style strings to ensure that lexmachine can properly lex them now and in the future.

Signed-off-by: Tim Henderson <tadh@google.com>
Signed-off-by: Tim Henderson <tadh@google.com>
@timtadh
Copy link
Owner Author

timtadh commented Feb 23, 2018

@ty2 let me know if this helpful.

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>
This is a bug in the DFA backend there may be something similar in the
NFA backend as well. More testing required.

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>
this is the corresponding fix for the NFA backend

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>
@timtadh timtadh changed the title Adds test for python style strings Fixes DFA/NFA returning incorrect tc in some cases Feb 25, 2018
@ty2
Copy link

ty2 commented Feb 26, 2018

Thanks. 😘

Signed-off-by: Tim Henderson <tadh@google.com>
Signed-off-by: Tim Henderson <tadh@google.com>
@timtadh
Copy link
Owner Author

timtadh commented Feb 26, 2018

@xaionaro this should now error if an empty string is matched. I will add the static checking as a separate pr.

@timtadh timtadh merged commit 6717fb4 into master Feb 27, 2018
@timtadh timtadh deleted the b-20 branch February 27, 2018 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants