mjarkk / general_programming_language

A temporarly repo for an idea to create a programming language that can be compiled into other languages
MIT License
1 stars 0 forks source link

Fixed missing first char bug for function call args #9

Closed TheOtterlord closed 4 years ago

TheOtterlord commented 4 years ago

Quick fix on your last commit. You need to go back one index when calling ParseAction::start by passing true instead of false. I've also updated test_function_call_with_args, as currently we cannot parse numbers as arguments. Also, since we are now using global variables more often when implementing new things, I've changed our print statement to include this for debugging.

mjarkk commented 4 years ago

Looks good, i'll merge it in