We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc4aa9f commit ed155aeCopy full SHA for ed155ae
src/main.c
@@ -451,7 +451,9 @@ int main(int argc, char** argv) {
451
char* source_label = NULL;
452
453
if (source_mode) {
454
- source_label = strdup("<source>");
+ /* Per SPECIFICATION: when running with -source the primary
455
+ program's module name should be "<string>" (not "<source>"). */
456
+ source_label = strdup("<string>");
457
src = strdup(source_text ? source_text : "");
458
if (!source_label || !src) {
459
free(source_label);
0 commit comments