From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vitalie Spinu Newsgroups: gmane.emacs.devel Subject: Re: [Patch] hard-widen-limits [was Re: Syntax tables for multiple modes [was: bug#22983: syntax-ppss returns wrong result.]] Date: Sun, 24 Apr 2016 18:11:09 +0200 Message-ID: <874mardm1u.fsf@gmail.com> References: <20160311151512.GD2888@acm.fritz.box> <87twjzda4h.fsf@gmail.com> <87lh5bd4ib.fsf@gmail.com> <87egb3ryjc.fsf@gmail.com> <877fgusum3.fsf@gmail.com> <8737risu8d.fsf@gmail.com> <87mvpqqxy7.fsf@gmail.com> <877fguqp8x.fsf@gmail.com> <87bn65pgk2.fsf@gmail.com> <87y499nz79.fsf@gmail.com> <87zithez9b.fsf@gmail.com> <940ff677-80dc-848b-5626-23c7ac1591df@yandex.ru> <87k2jneaio.fsf@gmail.com> <87mvoj4gai.fsf@Rainer.invalid> <87a8kjdyvx.fsf@gmail.com> <87lh43dty8.fsf@linux-m68k.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461514301 29142 80.91.229.3 (24 Apr 2016 16:11:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Apr 2016 16:11:41 +0000 (UTC) Cc: Achim Gratz , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 24 18:11:34 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1auMdB-0001CR-VV for ged-emacs-devel@m.gmane.org; Sun, 24 Apr 2016 18:11:34 +0200 Original-Received: from localhost ([::1]:55872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auMdA-0005md-Tu for ged-emacs-devel@m.gmane.org; Sun, 24 Apr 2016 12:11:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auMcv-0005ig-DP for emacs-devel@gnu.org; Sun, 24 Apr 2016 12:11:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auMcq-0001fN-Ai for emacs-devel@gnu.org; Sun, 24 Apr 2016 12:11:17 -0400 Original-Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:38025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auMcq-0001fI-3b for emacs-devel@gnu.org; Sun, 24 Apr 2016 12:11:12 -0400 Original-Received: by mail-wm0-x22b.google.com with SMTP id u206so93339154wme.1 for ; Sun, 24 Apr 2016 09:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=OY2lnQIMW5+x7QKcZEjtNh8/ZMkd7y5Iib8MnlZNSMc=; b=Tcv1eqj/lwq8ofz85wU8OEqOM3RzpdUPkUm3glwJ0DvBq3+qV3Hvs3B3ySSTQwrh3U sfCsmbSxHMtNs+3Hm/jaTLn11doEm8LWlxzRU1OgGONI7OEEYrD+NYySfilP8HLeoE6Q Hpb7RkrFa+0heW813V8A4Djw5vW6GMMQCNwwhcWJ5ntTufsFuJy86LZCH4LBCEqu0npF LEzQDEAHqiEAw0obg1nGqMXzhklCKrNRImJI9kwhi+LVJwn4De3q7u8MiKXPrFhRtdhm Lwdmyyux3qrI2lpxnqNtdktWz95LqkS9h0Wxulsp6CMhJgoRuKtIhcDXKdA28QJwR2so TtJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=OY2lnQIMW5+x7QKcZEjtNh8/ZMkd7y5Iib8MnlZNSMc=; b=CXLt6f293tPVToDNgF7swrZBmgO81wJtfnwi2ZLsGF63kr/9HwAWdQR5KNI/Uz8Jza Gq0EKEESMhb5MVUiHuvtY353fmNoFL8am9vSL+JkNOQtyefc3f9TseB5euIaqbQLrQko tpBaiG3JO82SzJu9Axkxg6yajNufItpY/blZu0mCAauerEJVhcihDPlkCEbFk6vEyDA/ A+apGUcNds9D9KgBNbF2uDU/5V1Tdhx6XPkZS0xZweVcBCX3miDIh6KLEN7/aKbWPMIz VpU2hMIkdibg0tUbBzWtmpwJJHw76ErnUCQTJQlqxBoR1wQ1E2IRI+QOBKtN/5hTRJgE q6UQ== X-Gm-Message-State: AOPr4FVgJdHq4xCfufY2OnoU/WDO8RCahXjE1xwnxUQCzAajZvCY9yoOIeQAAeEv+RIcAQ== X-Received: by 10.28.31.22 with SMTP id f22mr7528954wmf.103.1461514271399; Sun, 24 Apr 2016 09:11:11 -0700 (PDT) Original-Received: from localhost ([143.176.214.220]) by smtp.gmail.com with ESMTPSA id j8sm19095243wjv.44.2016.04.24.09.11.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Apr 2016 09:11:10 -0700 (PDT) In-Reply-To: <87lh43dty8.fsf@linux-m68k.org> (Andreas Schwab's message of "Sun, 24 Apr 2016 15:20:31 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:203262 Archived-At: >> On Sun, Apr 24 2016 15:20, Andreas Schwab wrote: > Vitalie Spinu writes: >> @@ -1692,7 +1692,7 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth, >> >> CASE (Bwiden): >> BEFORE_POTENTIAL_GC (); >> - PUSH (Fwiden ()); >> + TOP = Fwiden (TOP); > You are clobbering the stack here. Instead of pushing a new value you > are overwriting an unrelated value on the stack. I don't think so. I pick an argument form the stack and put the return value in it. This is what all one-arg functions do in bytecode.c. Vitalie