sv: carry over global typedefs from previous files
authorZachary Snow <zach@zachjs.com>
Tue, 16 Mar 2021 15:06:40 +0000 (11:06 -0400)
committerZachary Snow <zachary.j.snow@gmail.com>
Wed, 17 Mar 2021 19:53:52 +0000 (15:53 -0400)
commitf71c2dcca6b63ad3cbd3d5b6f51f67f9cd85f03e
tree4edd598b167d6422f64743b30587ead247346e46
parent092e923330ce23adffa7843a27bdba8a0b139e58
sv: carry over global typedefs from previous files

This breaks the ability to use a global typename as a standard
identifier in a subsequent input file. This is otherwise backwards
compatible, including for sources which previously included conflicting
typedefs in each input file.
frontends/verilog/verilog_frontend.cc
tests/verilog/typedef_across_files.ys [new file with mode: 0644]
tests/verilog/typedef_legacy_conflict.ys [new file with mode: 0644]