]> Nick Gasson's Git Repositories - nvc.git/commit
Add test for basic_identifier checking vs underscores
authorMatthias Wächter <matthias@waechter.wiz.at>
Thu, 30 May 2024 14:41:09 +0000 (16:41 +0200)
committerNick Gasson <nick@nickg.me.uk>
Thu, 30 May 2024 15:31:40 +0000 (16:31 +0100)
commit509306cba1d88d0dbb28384931909cd5bd3c715a
tree7ec9e154455e51ee37fff625fce77d1fc9a1a086
parent1a916509a64637e1c59aeb3806931cd1436040e7
Add test for basic_identifier checking vs underscores

VHDL (at least 2008 LRM) defines that underscores
are allowed, but not as the last identifier character
and not in succession to each other. This test verifier
that this is not wrongly parsed. Red/Green tested
by adding the failing test case in the first step.
test/dist.mk
test/parse/basic_identifier.vhd [new file with mode: 0644]
test/test_parse.c