Patch #168
vppreproc doesn't parse strings with line continuation characters
| Status: | Closed | Start date: | 10/22/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Wilson Snyder | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - |
Description
This line will cause an unterminated string error in VPreprocLex.l, although it is valid syntax:
$display("\nWarning! This is a\
string with a line\
continuation\
at time %0d PS", $time);
Here's a patch for VPreprocLex.l from Verilog-Perl-3.220:
113a114
<STRMODE>{backslash}{crnl} { linenoInc(); yymore(); }
History
Updated by Wilson Snyder over 2 years ago
- Status changed from New to Resolved
- Assignee set to Wilson Snyder
Indeed, thanks for the patch. A similar fix is needed for VParseLex.l
I committed the fix to git, it'll be in the next release.
Updated by Wilson Snyder over 2 years ago
- Status changed from Resolved to Closed
Fixed in Verilog-Perl 3.221, and Verilator 3.720.
Also available in: Atom
![[logo]](/img/veripool_small.png)