From ea8aae3322964be9ac67de29c0943935d34863b0 Mon Sep 17 00:00:00 2001 From: Kamil Jakubus Date: Thu, 28 Nov 2024 01:55:24 +0100 Subject: [PATCH] parser: add INPUT-OUTPUT to function_parameter_mode --- grammar.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grammar.js b/grammar.js index 7dad2b2..e98d853 100644 --- a/grammar.js +++ b/grammar.js @@ -521,7 +521,8 @@ module.exports = grammar({ $._block_terminator, seq(kw("END"), kw("FUNCTION"), $._terminator) ), - function_parameter_mode: ($) => choice(kw("INPUT"), kw("OUTPUT")), + function_parameter_mode: ($) => + choice(kw("INPUT"), kw("OUTPUT"), kw("INPUT-OUTPUT")), function_parameter_tuning: ($) => choice( kw("APPEND"),