nvim-treesitter/tests/query/highlights/t32/var.cmm
Christoph Sax 536c8a3880 feat(t32): re-enable tests
- Switch to GitLab mirror repository
- Lock grammar version 2.2.0
- Revert "fix(tests): mark t32 as allowed to fail"
  This reverts commit ba223ceecc.
- Revert "fix(tests): remove t32 tests"
  This reverts commit 97957a547b.
2023-07-30 19:29:33 +02:00

27 lines
501 B
Text

Var.NEWGLOBAL char[4][32] \myarr
; <- keyword
; ^ type
; ^ variable.builtin
LOCAL &i &data
&data="zero|one|two|three"
&i=0.
WHILE &i<4
(
PRIVATE &val
&val=STRing.SPLIT("&data","|",&i)
Var.Assign \myarr[&i]="&val"
; ^ variable.builtin
&i=&i+1.
)
Var.NEWLOCAL \x
; <- keyword
; ^ variable.builtin
Var.set \x=func3(5,3)
; ^ variable.builtin
PRINT Var.VALUE(\x)
; ^ variable.builtin
// vim: set ft=t32: