From: Yoann Padioleau <pad@fb.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] copy paste bug in cc.y?
Date: Tue, 14 Oct 2014 22:11:35 +0000 [thread overview]
Message-ID: <AA00716C-7B8A-43A1-8B53-4454016F16B2@fb.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
Hi,
It’s a copy paste bug here right?
https://code.google.com/p/ken-cc/source/browse/src/cmd/cc/cc.y#476
| LSWITCH '(' cexpr ')' stmnt
{
$$ = new(OCONST, Z, Z);
$$->vconst = 0;
$$->type = types[TINT];
$3 = new(OSUB, $$, $3);
$$ = new(OCONST, Z, Z);
$$->vconst = 0;
$$->type = types[TINT];
$3 = new(OSUB, $$, $3);
$$ = new(OSWITCH, $3, $5);
}
[-- Attachment #2: Type: text/html, Size: 9273 bytes --]
next reply other threads:[~2014-10-14 22:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-14 22:11 Yoann Padioleau [this message]
2014-10-14 22:45 ` Rob Pike
2014-10-15 0:50 ` Rob Pike
2014-10-17 17:48 ` Yoann Padioleau
2014-10-17 19:07 ` Charles Forsyth
2014-10-17 20:00 ` Yoann Padioleau
2014-10-17 20:04 ` minux
2014-10-17 20:32 ` Yoann Padioleau
2014-10-21 17:34 ` Yoann Padioleau
2014-10-21 20:53 ` Charles Forsyth
2014-10-17 21:30 ` Charles Forsyth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AA00716C-7B8A-43A1-8B53-4454016F16B2@fb.com \
--to=pad@fb.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).