branch: externals/matlab-mode
commit ea5cd6b59d385fc2c5e6eeb5c5a7617d849407f7
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>

    matlab-ts-mode: add fcn_call_with_cell test
---
 .../font_lock_fcn_call_with_cell.m                               | 9 +++++++++
 .../font_lock_fcn_call_with_cell.skip.txt                        | 2 ++
 2 files changed, 11 insertions(+)

diff --git 
a/tests/test-matlab-ts-mode-font-lock-files/font_lock_fcn_call_with_cell.m 
b/tests/test-matlab-ts-mode-font-lock-files/font_lock_fcn_call_with_cell.m
new file mode 100644
index 0000000000..b2e961db2c
--- /dev/null
+++ b/tests/test-matlab-ts-mode-font-lock-files/font_lock_fcn_call_with_cell.m
@@ -0,0 +1,9 @@
+% See comment in https://github.com/acristoffers/tree-sitter-matlab/issues/53
+% This shouldn't be a parse error.
+
+myfcn({'str'});
+
+function myfcn(in)
+    disp(in)
+end
+
diff --git 
a/tests/test-matlab-ts-mode-font-lock-files/font_lock_fcn_call_with_cell.skip.txt
 
b/tests/test-matlab-ts-mode-font-lock-files/font_lock_fcn_call_with_cell.skip.txt
new file mode 100644
index 0000000000..6aea7e42ed
--- /dev/null
+++ 
b/tests/test-matlab-ts-mode-font-lock-files/font_lock_fcn_call_with_cell.skip.txt
@@ -0,0 +1,2 @@
+See comment in https://github.com/acristoffers/tree-sitter-matlab/issues/53
+This shouldn't be a parse error.

Reply via email to