diff options
author | Maria Matejka <mq@ucw.cz> | 2021-08-25 22:20:48 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-09-10 18:11:28 +0200 |
commit | 2c13759136951ef0e70a3e3c2b2d3c9a387f7ed9 (patch) | |
tree | 51a9341babfae19ab427438e10e9a43fe1d3f1ea /filter/config.Y | |
parent | ceef6de459b25d8fcc5dd416e0cecf179bd243e7 (diff) |
Reducing filter stack size to allow for lesser thread stack size
Diffstat (limited to 'filter/config.Y')
-rw-r--r-- | filter/config.Y | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/filter/config.Y b/filter/config.Y index 7820e719..e6b59cbe 100644 --- a/filter/config.Y +++ b/filter/config.Y @@ -288,7 +288,7 @@ CF_KEYWORDS(FUNCTION, PRINT, PRINTN, UNSET, RETURN, PREPEND, FIRST, LAST, LAST_NONAGGREGATED, MATCH, EMPTY, FILTER, WHERE, EVAL, ATTRIBUTE, - BT_ASSERT, BT_TEST_SUITE, BT_CHECK_ASSIGN, BT_TEST_SAME, FORMAT) + BT_ASSERT, BT_TEST_SUITE, BT_CHECK_ASSIGN, BT_TEST_SAME, FORMAT, STACKS) %nonassoc THEN %nonassoc ELSE @@ -312,6 +312,12 @@ CF_KEYWORDS(FUNCTION, PRINT, PRINTN, UNSET, RETURN, CF_GRAMMAR +conf: FILTER STACKS expr expr ';' { + new_config->filter_vstk = $3; + new_config->filter_estk = $4; + } + ; + conf: filter_def ; filter_def: FILTER symbol { $2 = cf_define_symbol($2, SYM_FILTER, filter, NULL); cf_push_scope( $2 ); } |