Skip to content

GVL uses only the first variable List #32

@Philipp1297

Description

@Philipp1297

If there are multiple GVL lists inside one GVL-file, then only the first one is parsed.

SCL Example:

{attribute 'qualified_only'}
VAR_GLOBAL CONSTANT
	iMaxUnits : INT := 12;
	
	uiMaxTestBenches : UINT := 4;

	timHeartbeatResetDelay : TIME := T#300MS;
	
	test_2: BOOL;	
END_VAR

VAR_GLOBAL 
	test: BOOL;
END_VAR


VAR_GLOBAL PERSISTENT 
	test123: BOOL;	
	sTesting: STRING;
END_VAR

Documentation Output:
image

I saw that inside the interpreter.py there is only the first variable_list used.

Is there an easy way to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions