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

\peek_analysis_map_inline does not work for \exp_after:wN token #1110

Closed
user202729 opened this issue Jul 3, 2022 · 1 comment
Closed

\peek_analysis_map_inline does not work for \exp_after:wN token #1110

user202729 opened this issue Jul 3, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@user202729
Copy link
Contributor

user202729 commented Jul 3, 2022

%! TEX program = pdftex
\input expl3-generic.tex
\ExplSyntaxOn
\peek_analysis_map_inline:n {
	\peek_analysis_map_break:
} \exp_after:wN
\bye
! Improper alphabetic constant.
<to be read again> 
                   \exp_after:wN 
l.6 } \exp_after:wN
                   
? 

Looks like the cause here is \tex_let:D #1 \scan_stop: which will obviously break the code afterwards. (I think other tokens such as \tl_put_right:Nn, \exp_not:N, etc. will break this code as well.)

@blefloch blefloch self-assigned this Oct 2, 2022
@blefloch blefloch added bug Something isn't working l3regex expl3 and removed l3regex labels Oct 2, 2022
@blefloch
Copy link
Member

blefloch commented Oct 3, 2022

Thanks a lot for the three issues (#1109, #1110, #1113)! That was ridiculously bad code on my part, and poor testing. I've corrected all three, but don't hesitate to open others if you come across more. I'm also open to more tests in this area if want to contribute in this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants