-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Number subindexes not detected #164
Comments
@dgarroDC as you were working with sub-indexes and all that in the recent days (and thus you should remember how this all works better), is there any chance you could look into this issue? |
I can't debug this right now but after a quick look at the code, I think that this might be the problem, maybe we should also check that But anyway, can the bool is_num_var(string & token, compiler_state & state)
{
return (variable_type(token, state) == vector<unsigned int>{1});
} This is related to the bug we discussed here ( This all also applies to the text case, of course. |
You are right, I do like the simpler function. We should take that approach. |
Fixed! |
Wonderful! Thank you very much! |
At the moment, the LDPL compiler doesn't find any errors in codes like
and thus the C++ compilation crashes after the IR is generated. This should be fixed 😞
The text was updated successfully, but these errors were encountered: