y-flat / yfc

The best (because it's the only) compiler for the Y-flat programming language.
GNU General Public License v3.0
6 stars 7 forks source link

`yf_ensure_entry_point` is not working properly #122

Open adamhutchings opened 2 years ago

adamhutchings commented 2 years ago

When compiling a non-project file, even if a function exists which is named main, none are detected.

~~ test.yf ~~
main() {}

yfc test.yf fails.