58 lines
516 B
VHDL
58 lines
516 B
VHDL
|
|
--This should pass
|
|
context c1 is
|
|
|
|
end context c1;
|
|
|
|
--These should fail
|
|
context c1 is
|
|
end context c1
|
|
;
|
|
|
|
context
|
|
c1
|
|
is
|
|
|
|
end
|
|
|
|
context -- Some comment
|
|
c1
|
|
-- Comment
|
|
;
|
|
|
|
context c1 is
|
|
|
|
end -- Some comment
|
|
context c1 -- Some other comment
|
|
-- other comments
|
|
;
|
|
|
|
context c1 -- Yet another comment, comment
|
|
-- Some comment
|
|
is
|
|
|
|
end
|
|
-- Comment again
|
|
|
|
context
|
|
c1 -- Comment
|
|
-- Comment
|
|
; -- Comment
|
|
|
|
-- Test with missing end context keyword
|
|
|
|
context c1 is
|
|
|
|
end
|
|
;
|
|
|
|
context c1 is
|
|
|
|
end context
|
|
;
|
|
|
|
context c1 is
|
|
|
|
end context c1
|
|
;
|