Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(750)

Unified Diff: src/cmd/gc/lex.c

Issue 193080: code review 193080: gc: record full package paths in runtime type data (Closed)
Patch Set: code review 193080: gc: record full package paths in runtime type data Created 15 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/cmd/gc/go.y ('k') | src/cmd/gc/reflect.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/gc/lex.c
===================================================================
--- a/src/cmd/gc/lex.c
+++ b/src/cmd/gc/lex.c
@@ -68,6 +68,9 @@
if(argc < 1)
goto usage;
+ // special flag to detect compilation of package runtime
+ compiling_runtime = debug['+'];
+
pathname = mal(1000);
if(getwd(pathname, 999) == 0)
strcpy(pathname, "/???");
« no previous file with comments | « src/cmd/gc/go.y ('k') | src/cmd/gc/reflect.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b