Skip to content

Commit 568c332

Browse files
author
Hal Finkel
committed
use a main-program identifier that won't conflict with anything else
1 parent 493ffca commit 568c332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Parse/Parser.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ Parser::ParseMainProgram() {
649649
if (ProgramName)
650650
D.SetIdentifier(ProgramName, ProgramNameLoc);
651651
else
652-
D.SetIdentifier(PP.getIdentifierInfo("program"), ProgramLoc);
652+
D.SetIdentifier(PP.getIdentifierInfo("<main-program>"), ProgramLoc);
653653

654654
const char *PrevSpec;
655655
unsigned DiagID;

0 commit comments

Comments
 (0)