poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New command .set error-on-warning (yes|no)


From: Jose E. Marchesi
Subject: New command .set error-on-warning (yes|no)
Date: Mon, 21 Oct 2019 00:30:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hi people!

I just committed support for a new configurable flag:

.set error-on-warning (yes|no)

Example usage:

(poke) deftype Foo = union { int i; long l; }
<stdin>:1:30: warning: unreachable alternative in union
deftype Foo = union { int i; long l; };
                             ^~~~~~~
(poke) .set error-on-warning yes
(poke) deftype Foo2 = union { int i; long l; }
<stdin>:1:31: error: unreachable alternative in union
deftype Foo2 = union { int i; long l; };
                              ^~~~~~~
Remember that you can have commands in your ~/.pokerc.  This is mine:

# My poke configuration - jemarch

.set endian host
.set obase 16

Salud!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]