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:
parent
ed54c51916
commit
1493fa103d
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue