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 1 year ago

adamhutchings commented 1 year 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.