[antlr-interest] Verilog VCD Parser

Amal Khailtash akhailtash at gmail.com
Sat Feb 9 21:05:57 PST 2008


Can someone please guide me to writing a grammar that can parse the
following:

  $comment
    ANY CHARACTER HERE INCLUDING WHITESPACE
  $end

  $version
    ANY CHARACTER HERE INCLUDING WHITESPACE
  $end

I am having problem with the text between the two keywords.  Generally
whitespace is ignored, but not if it is between $commen/$end or
$version/$end.

Any help would be appreciated,
-- Amal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080210/63e8ca74/attachment.html 


More information about the antlr-interest mailing list