verilator/test_regress/t/t_flag_define.vc
Yves Mathieu baa6a2c31a Support quoted arguments in -f files, bug1535.
Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
2019-10-24 07:33:19 -04:00

14 lines
331 B
Plaintext

+define+D1A
+define+D2A=VALA
+define+D3A+D3B
+define+D4A=VALA+D4B
+define+D5A=VALA+D5B=VALB
// Quotes do NOT escape the plus
//+define+D5A="VALA+D5B"+D5C
+define+STRING1="\"New String\""
+define+STRING2='"New String"'
+define+STRING3=\"New\ String\"
+define+LIT1=32'h600D600D
+define+LIT2=32\'h600D600D
+define+LIT3="32'h600D600D"