all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Chapple <jrchapple@sympatico.ca>
To: "22368@debbugs.gnu.org" <22368@debbugs.gnu.org>
Subject: bug#22368: Another way to produce the same result
Date: Thu, 14 Jan 2016 17:10:44 +0000	[thread overview]
Message-ID: <BAY173-W40AEF2296C05153E8F9E1FCACC0@phx.gbl> (raw)
In-Reply-To: <BAY173-W718E3A50DE97EF78CD854CACC0@phx.gbl>


[-- Attachment #1.1: Type: text/plain, Size: 433 bytes --]

Hello again, Ladies and/or Gentlemen,

I have found another method to reproduce this problem that perhaps is clearer:

Open the attached file.

Using the mouse, select Edit | Select All .

Using the mouse, select VHDL | Comment | (Un)Comment Out Region.

Line 14 will now be rejected by any VHDL compiler.  The file is saved to disk as it appears on the screen.  I checked with another editor.

Cheers
John
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 688 bytes --]

[-- Attachment #2: bug.vhdl --]
[-- Type: application/octet-stream, Size: 1102 bytes --]

--library	ieee;
--use		ieee.std_logic_1164.all;

--library work;
--use		work.definitions.all;

--entity ccf_operation is
--port(
--	flags_in:	in	std_logic_vector(7 downto 0);
--	flags_out:	out	std_logic_vector(7 downto 0)
--);
--end;

---- Tested with Modelsim 2015/11/25, works.

--architecture struct_ccf_operation of ccf_operation is
--begin
--	-- A point of disagreement has been found between the Z80 user manual
--	-- and Lance Levinthal's book entitled "Z80 Assembly Language Programming".
--	-- The Z80 user manual says the half-carry bit gets the previous carry;
--	-- Levinthal says the half-carry bit is unchanged.  For now, go with
--	-- Levinthal's version as the Z80 users manual is inconsistent with
--	-- itself on other instructions.  At this time, no such inconsistencies
--	-- have been found with Levinthal's work.

--	flags_out <= (	carry_bit => not flags_in(carry_bit),
----					half_carry_bit <= flags_in(carry_bit),
--					others => '0');
--end;

--library	ieee;
--use		ieee.std_logic_1164.all;

--library work;
--use		work.definitions.all;


  reply	other threads:[~2016-01-14 17:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-14  0:12 bug#22368: vhdl comment-uncomment problem, apparently (or not) related to 14335 and 5997 John Chapple
2016-01-14 17:10 ` John Chapple [this message]
2020-08-15  5:34   ` bug#22368: Another way to produce the same result Stefan Kangas
2020-08-18 10:43     ` Reto Zimmermann
2020-08-18 11:39       ` Stefan Kangas
2020-08-19 11:52         ` Reto Zimmermann
2021-12-02  8:48           ` bug#22368: vhdl comment-uncomment problem, apparently (or not) related to 14335 and 5997 Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY173-W40AEF2296C05153E8F9E1FCACC0@phx.gbl \
    --to=jrchapple@sympatico.ca \
    --cc=22368@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.