AlDanial / cloc

cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
GNU General Public License v2.0
19.81k stars 1.02k forks source link

vue extension has problem like Oracle PL/SQL #876

Open simahao opened 1 day ago

simahao commented 1 day ago

Describe the bug Like #875 ,vue has same problem.

cloc; OS; OS version

To Reproduce

execute cmd like this cloc a.vue

<template>
    <div v-loading="loading">
        <div>aaa</div>
    </div>
</template>
<script>
import(menCommonConstant } from '@/utils/menConstant'
// test
export detault,
    name: 'SpecProgramClientNotice',
    components: {
        vxeTable, //table
        menClientInout
    }
</script>
<style lang="scss" scoped></style>

Expected result comments: 1

Actual result comments: 2

AlDanial commented 1 day ago

This reveals a deeper problem, will take some time to figure out