Project

General

Profile

Bug #1599

Modification in variation_variable_declarations to change the return values of the function for some cases of headers

Added by Nandini Bansal about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
09/02/2021
Due date:
% Done:

0%

Estimated time:
3.00 h

Description

variation_variable_declarations function is responsible for generating header variants for headers which follow the format "data_type_1 (data_type_2..data_type_n) variable_name". This function returns a special flag called variable_flag. If this flag is TRUE, it means that the header variant has been processed by this function and we must NOT process it using any other header variation function.
This flag is only turned TRUE when the variable_name exists outside the 20K common word list and we need to modify this.

Changes are as follows:
Part A.1. If the header follows the above format and is a subsection header then if the header variant is within the 20K common word list, do NOT add any header variant from this header.
E.g. int isolated, int inspect

Part B.1. If the header follows the above format, irrespective of whether variable_name is within 20K words or not, we need to ensure that the entire header (i.e. the original form) is NOT added to the header variants list for which KPs are to be searched.

#1

Updated by Nandini Bansal about 3 years ago

  • Assignee set to Anonymous
#2

Updated by Anonymous about 3 years ago

  • Status changed from New to Resolved
#3

Updated by Nandini Bansal about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF