Lines Matching refs:CurrentInputIndex
198 int CurrentInputIndex = 0;
222 #define IncrementLineNumber() LineNumbers[CurrentInputIndex] ++
436 if (CurrentInputIndex < 0)
453 LineNumbers[CurrentInputIndex], (const wxChar*) currentFileName.c_str(), MAX_LINE_BUFFER_SIZE);
463 ch = getc(Inputs[CurrentInputIndex]);
475 errBuf.Printf(_T("An extra right Curly brace ('}') was detected at line %lu inside file %s"), LineNumbers[CurrentInputIndex], (const wxChar*) currentFileName.c_str());
490 int ch1 = getc(Inputs[CurrentInputIndex]);
495 getc(Inputs[CurrentInputIndex]);
504 LineNumbers[CurrentInputIndex], (const wxChar*) currentFileName.c_str(),MAX_LINE_BUFFER_SIZE);
514 ungetc(ch1, Inputs[CurrentInputIndex]);
519 LineNumbers[CurrentInputIndex], (const wxChar*) currentFileName.c_str(),MAX_LINE_BUFFER_SIZE);
544 LineNumbers[CurrentInputIndex], (const wxChar*) currentFileName.c_str(),MAX_LINE_BUFFER_SIZE);
567 LineNumbers[CurrentInputIndex], (const wxChar*) currentFileName.c_str(),MAX_LINE_BUFFER_SIZE);
582 LineNumbers[CurrentInputIndex], (const wxChar*) currentFileName.c_str(),MAX_LINE_BUFFER_SIZE);
603 // LineNumbers[CurrentInputIndex], (const wxChar*) currentFileName.c_str());
614 LineNumbers[CurrentInputIndex], (const wxChar*) currentFileName.c_str());
622 LineNumbers[CurrentInputIndex], (const wxChar*) currentFileName.c_str());
635 fclose(Inputs[CurrentInputIndex]);
636 Inputs[CurrentInputIndex] = NULL;
637 if (CurrentInputIndex > 0)
639 CurrentInputIndex --;
706 CurrentInputIndex ++;
708 Inputs[CurrentInputIndex] = wxFopen(actualFile, _T("r"));
709 LineNumbers[CurrentInputIndex] = 1;
710 if (FileNames[CurrentInputIndex])
711 delete[] FileNames[CurrentInputIndex];
712 FileNames[CurrentInputIndex] = copystring(actualFile);
714 if (!Inputs[CurrentInputIndex])
716 CurrentInputIndex --;
792 CurrentInputIndex ++;
794 Inputs[CurrentInputIndex] = wxFopen(actualFile, _T("r"));
795 LineNumbers[CurrentInputIndex] = 1;
796 if (FileNames[CurrentInputIndex])
797 delete[] FileNames[CurrentInputIndex];
798 FileNames[CurrentInputIndex] = copystring(actualFile);
800 if (!Inputs[CurrentInputIndex])
804 CurrentInputIndex --;
828 LineNumbers[CurrentInputIndex],
835 LineNumbers[CurrentInputIndex],
960 macroBuf, (int)(LineNumbers[CurrentInputIndex]-1), FileNames[CurrentInputIndex]);
2028 CurrentInputIndex = 0;