I'm working on coding in slic events for my scenario and I've been getting this error: "...766:yacc stack overflow"
I know that means its in line 766, but what does yacc stack overflow mean? The only thing I have set so far are regard and trust. This is what 766 is:
766: LogRegardEvent(14, 16, 100, 0,ID_REGARD_EVENT, 0);
767: SetTrust(14,16,100);
768:
769: LogRegardEvent(15, 16, 100, 0,ID_REGARD_EVENT, 0);
770: SetTrust(15,16,100);
Basicly I went through, listed every nations regard for every other nation. By commenting out line 766, the next LogRegardEvent line had an error which is 769. I commented that out an it worked fine. I should also note that those are the last 4 lines in the code and all 765 lines before it look exactly the same as that, except with appropriate values for nations. None of the previous lines seem to have any syntax error either. This really wouldn't be a problem since I can comment the lines out and it works, but then I went and added some new coding after this and then the error was applying to lines in that code.
I know that means its in line 766, but what does yacc stack overflow mean? The only thing I have set so far are regard and trust. This is what 766 is:
766: LogRegardEvent(14, 16, 100, 0,ID_REGARD_EVENT, 0);
767: SetTrust(14,16,100);
768:
769: LogRegardEvent(15, 16, 100, 0,ID_REGARD_EVENT, 0);
770: SetTrust(15,16,100);
Basicly I went through, listed every nations regard for every other nation. By commenting out line 766, the next LogRegardEvent line had an error which is 769. I commented that out an it worked fine. I should also note that those are the last 4 lines in the code and all 765 lines before it look exactly the same as that, except with appropriate values for nations. None of the previous lines seem to have any syntax error either. This really wouldn't be a problem since I can comment the lines out and it works, but then I went and added some new coding after this and then the error was applying to lines in that code.
Comment