Added printf() format related fix thanks to christophe.foucher.

git-svn-id: http://picoc.googlecode.com/svn/trunk@603 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
zik.saleeba 2013-10-14 23:41:09 +00:00
parent ed54c51916
commit 1493fa103d

View file

@ -126,7 +126,7 @@ void PrintSourceTextErrorLine(IOFILE *Stream, const char *FileName, const char *
for (CCount = 0; CCount < CharacterPos + (int)strlen(INTERACTIVE_PROMPT_STATEMENT); CCount++) for (CCount = 0; CCount < CharacterPos + (int)strlen(INTERACTIVE_PROMPT_STATEMENT); CCount++)
PrintCh(' ', Stream); PrintCh(' ', Stream);
} }
PlatformPrintf(Stream, "^\n%s:%d: ", FileName, Line, CharacterPos); PlatformPrintf(Stream, "^\n%s:%d:%d ", FileName, Line, CharacterPos);
} }