Geoffrey Coram from the Verilog-AMS committee notes that in 1364-2005, Table 3-1 in 3.6.3 and Table 17-1 in 17.1.1.1 are unclear about what happens if a backslash is followed by a character which does not appear in the table. Even if nothing special happens, that is, it is just a backslash followed by an additional character, that should be noted. It was suggested that a warning be issued, which is what C apparently does. Note that 17.1.1 says, "The special character \ indicates that the character to follow is a literal or nonprintable character". Note that 1800 adds additional special characters: \v, \f, \a, \x02 (hex number), and \<CR> (line continuation). Note also that Table 3-1 does not include the sequence %%, which is in Table 17-1. Is that significant? Finally, regarding \ddd, Table 3-1 says, "A character specified in 1-3 octal digits (0 <= d <= 7). If less that three characters are used, the following character shall not be an octal digit," and Table 17-1 has a similar wording. Less confusing would be "If fewer than three digits are used, ...". This also incidentally fixes a grammar error. Shalom Shalom Bresticker Intel Jerusalem LAD DA +972 2 589-6852 +972 54 721-1033 I don't represent Intel
This archive was generated by hypermail 2.1.8 : Sun Apr 30 2006 - 05:34:26 PDT