Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leading numbers dropped from procedure names #267

Open
slegian opened this issue Dec 6, 2019 · 2 comments
Open

Leading numbers dropped from procedure names #267

slegian opened this issue Dec 6, 2019 · 2 comments

Comments

@slegian
Copy link

@slegian slegian commented Dec 6, 2019

Description of the Issue

The code explorer drops all leading numbers from procedure names

Steps to Reproduce the Issue

Try the following valid progress program, you'll see what i mean:
procedure 1a:
end procedure.

procedure 2a:
end procedure.

procedure 3b:
end procedure.

procedure 4a:
end procedure.

Expected Behavior

Code explorer should list 4 procedures, 1a, 2a, 3b and 4a.

Actual Behavior

Code explorer lists 1 a x2 with two "a"s underneath for 1a and 2a, then "b" for 3b then "a" again for 4a.

Screenshots

2019-12-06 13_05_12-_new 2 - Notepad++

Debug Information

win10 64bit, n++ 7.8.1 (yeah, i know ;)), 3p 1.8.4, 32 bit

@jcaillon
Copy link
Owner

@jcaillon jcaillon commented Dec 12, 2019

Hello!

Damn, I had no idea that you were allowed to start a procedure name with a digit (you can't name a variable like that).

The fix should be pretty easy, I will get into it as soon as possible.

Thank you for the feedback ;)

PS: you are using notepad++ 7.8.1? :o does the plugin works well with that version?

@slegian
Copy link
Author

@slegian slegian commented Dec 12, 2019

Neither did I and truth be told not a big fan, but hey, the joy of legacy code... Was told this is COBOL like, can't say for sure :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.