diff --git a/client/test/grammars/snaps/keywords.bb b/client/test/grammars/snaps/keywords.bb index 85de8717..af358167 100644 --- a/client/test/grammars/snaps/keywords.bb +++ b/client/test/grammars/snaps/keywords.bb @@ -26,3 +26,10 @@ inherit_defer foo2 python(){} +test() { + test python +} + +def test() { + python = "test" +} diff --git a/client/test/grammars/test-cases/keywords.bb b/client/test/grammars/test-cases/keywords.bb index 0843e023..5a5718e5 100644 --- a/client/test/grammars/test-cases/keywords.bb +++ b/client/test/grammars/test-cases/keywords.bb @@ -41,4 +41,14 @@ python (){} #^^^^^^^^^^^^^ source.bb keyword.control.bb python(){} -#<------ source.bb storage.type.function.python.bb \ No newline at end of file +#<------ source.bb storage.type.function.python.bb + +>test() { +> test python +# ^^^^^^ source.bb variable.other.names.bb +>} + +>def test() { +> python = "test" +# ^^^^^^ source.bb variable.other.names.bb +>} \ No newline at end of file