nedpals / tree-sitter-v

Tree-sitter parser for V
MIT License
24 stars 5 forks source link

Fix multi-line expression statements #12

Closed hungrybluedev closed 3 years ago

hungrybluedev commented 3 years ago

The following statement cannot be parsed currently:

needs_fspec := lit.need_fmts[i] || lit.pluss[i]
    || (lit.fills[i] && lit.fwidths[i] >= 0) || lit.fwidths[i] != 0
    || lit.precisions[i] != 987698

This snippet is from vlib/v/ast/str.v