Skip to content
New issue

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

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

Already on GitHub? # to your account

CSTParser cannot parse for loops in a quoted macro #345

Closed
YingboMa opened this issue Jun 4, 2022 · 0 comments · Fixed by #347
Closed

CSTParser cannot parse for loops in a quoted macro #345

YingboMa opened this issue Jun 4, 2022 · 0 comments · Fixed by #347

Comments

@YingboMa
Copy link
Contributor

YingboMa commented Jun 4, 2022

julia> using CSTParser

julia> CSTParser.parse(":(@simd ivdep for i_1 in axes(dst, 1) end)")
  1:42  quote
  1:41   brackets
  1:39    errortoken
  1:36     generator
  1:12      macrocall
  1:6        @simd
  7:6        NOTHING: nothing
  7:12       ivdep
 13:32        1:0   OP: =
 13:16       i_1
 17:29       call
 17:20        axes
 21:23        dst
 24:24        INTEGER: 1
 37:39     errortoken( CSTParser.UnexpectedToken)
 37:39      END
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant