Beakerboy / Beakerboy/VBA_Tokenizer

Header End causes issues

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

If the file can CRLF endings, the header will have a line end statement. When VBA.php attempts to find what token follows end: (end Sub, end Function, etc) if finds noting and gives and array index error. Replace a line End with something else.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in VBA.php, focusing on how CRLF line endings are handled in the header and how the token following End is found. Reproduce the array index error with a CRLF-terminated VBA file containing End Sub or End Function. Done means the input no longer causes an index error and the End statement is handled correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.