Skip to content

fix: v1.7.5 - fix routine scanner, update documentation#35

Open
hkimura-intersys wants to merge 4 commits intointersystems:mainfrom
hkimura-intersys:routine-fix
Open

fix: v1.7.5 - fix routine scanner, update documentation#35
hkimura-intersys wants to merge 4 commits intointersystems:mainfrom
hkimura-intersys:routine-fix

Conversation

@hkimura-intersys
Copy link
Copy Markdown
Collaborator

@hkimura-intersys hkimura-intersys commented Apr 10, 2026

Overview

Key Changes include:

  1. Bug fix in routine scanner
  2. Documentation added for neovim editor integration
  3. New crates released (v1.7.5)

Bug Explained

A bug was found in v1.7.4 where the compiled header check (in the routine scanner) incorrectly consumed all tags during its check. Then, once it reverted to the core scanner, the tag tokens were consumed, so it would error. So, if a file started as a procedure without a routine header or a compiled header, it would error.

This was fixed by putting the compiled_header check after the core scanner runs. Additionally, the routine header check is now a part of the core scanner, which makes it so if a tag starts with an R, it won't get incorrectly consumed by the routine scanner first.

Fix and Testing

This is now fixed, and procedures are parsed correctly in the routine grammar:
image

The entire core test suite has also been added to the routine test suite now, so everything is checked.

All github workflows have passed as well:
image

Moved compiler_header check to AFTER the core scanner runs,
as it was eating tokens and causing errors for times where
something was a statement without a header.
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