refactor libomf
refactor libomf
Merge pull request #1767 from WalterBright/scanomf

refactor: split libomf.c into libomf.c and scanomf.c
fix Issue 7177 - $ should forward to length by default