File: t_preproc_ifexpr_bad.out

package info (click to toggle)
verilator 5.038-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 162,552 kB
  • sloc: cpp: 139,204; python: 20,931; ansic: 10,222; yacc: 6,000; lex: 1,925; makefile: 1,260; sh: 494; perl: 282; fortran: 22
file content (45 lines) | stat: -rw-r--r-- 2,089 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
%Error: t/t_preproc_ifexpr_bad.v:12:14: `elsif with no matching `if
   12 | `elsif ( ONE )  // BAD: elsif without if
      |              ^
        ... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
%Error: t/t_preproc_ifexpr_bad.v:13:1: `endif with no matching `if
   13 | `endif
      | ^~~~~~
%Error: t/t_preproc_ifexpr_bad.v:15:10: Syntax error in `ifdef () expression
   15 | `ifdef ( ) // BAD: Missing value
      |          ^
%Error: t/t_preproc_ifexpr_bad.v:18:17: Syntax error in `ifdef () expression
   18 | `ifdef ( && ZERO)  // BAD: Expr
      |                 ^
%Error: t/t_preproc_ifexpr_bad.v:21:18: Syntax error in `ifdef () expression
   21 | `ifdef ( ZERO && )  // BAD: Expr
      |                  ^
%Error: t/t_preproc_ifexpr_bad.v:24:10: Syntax error in `ifdef () expression; unexpected: 'TEXT'
   24 | `ifdef ( 1 )  // BAD: Constant
      |          ^
%Error: t/t_preproc_ifexpr_bad.v:24:12: Syntax error in `ifdef () expression
   24 | `ifdef ( 1 )  // BAD: Constant
      |            ^
%Error: t/t_preproc_ifexpr_bad.v:27:14: Syntax error in `ifdef () expression; unexpected: 'TEXT'
   27 | `ifdef ( ONE & ZERO)  // BAD: Operator
      |              ^
%Error: t/t_preproc_ifexpr_bad.v:30:10: Syntax error in `ifdef () expression; unexpected: 'TEXT'
   30 | `ifdef ( % )  // BAD: % is syntax error
      |          ^
%Error: t/t_preproc_ifexpr_bad.v:30:12: Syntax error in `ifdef () expression
   30 | `ifdef ( % )  // BAD: % is syntax error
      |            ^
%Error: t/t_preproc_ifexpr_bad.v:34:1: Expecting define name. Found: ENDIF
   34 | `endif
      | ^~~~~~
%Error: t/t_preproc_ifexpr_bad.v:36:1: Expecting define name. Found: IFDEF
   36 | `ifdef ( ONE // BAD: Missing paren
      | ^~~~~~
%Error: t/t_preproc_ifexpr_bad.v:37:1: Syntax error in `ifdef () expression; unexpected: 'TEXT'
   37 | `endif
      | ^
%Error: t/t_preproc_ifexpr_bad.v:40:1: EOF in unterminated preprocessor expression
%Error: t/t_preproc_ifexpr_bad.v:33:2: syntax error, unexpected ')'
   33 |  )  
      |  ^
%Error: Exiting due to