Skip to content

V1.9.19 updates - #55

Merged
hkimura-intersys merged 2 commits into
intersystems:mainfrom
hkimura-intersys:v1.9.19-updates
Sep 1, 2026
Merged

V1.9.19 updates#55
hkimura-intersys merged 2 commits into
intersystems:mainfrom
hkimura-intersys:v1.9.19-updates

Conversation

@hkimura-intersys

Copy link
Copy Markdown
Member

The changes in this PR include bug fixes and improvements.

Scanner changes

  1. In a potential tag, if the name is a statement, the scanner looks ahead to see if there is exactly one space followed by another name, and it reads that name. If that name is a statement, then the potential tag is returned and tokenized as a tag. This fixed scenarios where people use statement names as their tags.
    Ex:
    close set x = 2

  2. When the mimetype keyword value is scanned, whitespace is first scanned so it is no longer included in the token. Before, if there was whitespace, it got included in cases where the scanner returned it, and that made it so injections didn't match properly.

Grammar changes

  1. zsave/zload/zedit have filenames as arguments (routine names) and zedit allows keywords (like open keywords /keyword=value)

the scanner was including whitespace as part of the token returned, which
caused injections not to match in cases with whitespace. this fixes that.

Also fixed scanner parsing in playground mode. If the potential tag is a statement,
it checks if there is whitepsace, and if there is one space followed by a statement, it
still counts as a tag.
@hkimura-intersys hkimura-intersys self-assigned this Sep 1, 2026
@hkimura-intersys
hkimura-intersys merged commit 48a06b6 into intersystems:main Sep 1, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant