g2384 / VHDLFormatter

VHDL formatter web online written in typescript
https://g2384.github.io/VHDLFormatter/
MIT License
52 stars 20 forks source link

single line package declarations indent #25

Closed are512 closed 4 years ago

are512 commented 5 years ago

Report a bug

Input

PACKAGE p IS NEW work.p_template;

Expected Behavior

Should not indent after declaration

Actual Behavior

Does indent after declaration, hence the rest of the file become out of sync by one indent level

are512 commented 5 years ago

Ignore second commit, that was part of a deleted branch, so just first and third

g2384 commented 4 years ago

this bug is fixed now. Sorry that your PR doesn't cover all cases.