Skip to content

Some tokens have the wrong string content #5

Open
@aryx

Description

See https://returntocorp.slack.com/archives/C01NXGX2EHZ/p1625677111141200

[pad@yrax yy (vue_p2)]$ cat ~/hello.vue 
<script>
hello
world
</script>
[pad@yrax yy (vue_p2)]$ semgrep-core -lang vue -dump_tree_sitter_cst ~/hello.vue 
+ /home/pad/yy/_build/default/src/cli/Main.exe -lang vue -dump_tree_sitter_cst /home/pad/hello.vue
[0.104  Info       Main.Dune__exe__Main ] loaded log_config.json
[0.104  Info       Main.Dune__exe__Main ] Executed as: /home/pad/yy/_build/default/src/cli/Main.exe -lang vue -dump_tree_sitter_cst /home/pad/hello.vue
[0.104  Info       Main.Dune__exe__Main ] Version: semgrep-core version: v0.57.0-26-g6a669dcb-dirty, pfff: 0.42
|   Script_elem
|   |   "<"
|   |   script
|   |   ">"
|   |   helloworld
|   |   "</"
|   |   script
|   |   ">"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions