amusing grammar ambiguity

From: Paul Graham (pgraham@cadence.com)
Date: Wed Sep 26 2001 - 12:40:00 PDT


Precedence: bulk

I just noticed that grammatically, or lexically, speaking, the string "(*"
can either be the start of a verilog-2000 attribute, or an element in an
implicit event control:

    (* case parallel *)

    always @(*)

This shouldn't be a problem for tools, but I thought it was kind of amusing.

Paul



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:54:46 PDT and
sponsored by Boyd Technology, Inc.