Skip to content

False positives unclosed(for/while/...) #1

@mtwango

Description

@mtwango

Can you update the check for unclosed block objects that needs closing tags? These can be used in words (ie books) and cause false positives:

[BOOK b_5]
Under a spreading chestnut tree
The village smithy stands;

The smith, a mighty man is he,
With large and sinewy hands;

And looks the whole world in the face,
For he owes not any man.                  <------- false positive

Week in, week out, from morn till night,
You can hear his bellows blow;
[COMMENT sphere_terrain_types]
This file contains the definition of each "Terrain" TYPEDEF (water, rock,
dirt, grass, lava, snow, swamp, jungle, forest, acid,...)

NOTE: The TERRAIN numbers below (if there are two of them, its a range of
numbers) are not item tiles.

For more information on how these special TYPEDEFs are used in the harvesting  <------- false positive
of resources, check the COMMENT section of the sphere_region.scp file.

Maybe checking, if the starting tag has any conditions instead checking for word.

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