Add Proposal | Add Analysis | Edit Class, Environment, or Release |
Number | 472
|
Category | errata
|
Synopsis | 2.5.1: underscore characters legal anywhere in a number?
|
State | open
|
Class | errata-simple
|
Arrival-Date | Sep 16 2003
|
Originator | "Brad Pierce" <Brad.Pierce@synopsys.com>
|
Release | 2001b: 2.5.1
|
Environment |
|
Description |
According to 2.5.1, in the last paragraph before the Examples, "The underscore character (_) shall be legal anywhere in a number except as the first character." This is not consistent with the BNF, which is more restrictive. I tend to believe the BNF on this one, not the text. -- Brad |
Fix |
|
Audit-Trail |
From: Steven Sharp <sharp@cadence.com> To: etf-bugs@boyd.com, Brad.Pierce@synopsys.com Cc: Subject: Re: errata/472: 2.5.1: underscore characters legal anywhere in a number? Date: Tue, 16 Sep 2003 19:00:14 -0400 (EDT) I think that the text is intended to mean the same thing as the BNF, but is a little sloppy. It doesn't really mean anywhere in a number except the first character, it means anywhere in a numeric field of a number. So, anywhere in the first token, the size constant (which is a number, though not the grammar element "number") or the third token, the unsigned number that gives the value (again, a number, but not the grammar element "number"), but not as the first character of either. The whole section is rather sloppy in its use of "number" to mean multiple different things. Steven Sharp sharp@cadence.com |
Unformatted |
|
Hosted by Boyd Technology