[fpc-pascal] Parsing Smalltalk-style numbers

2014-03-02 Thread Mark Morgan Lloyd
Does anybody have any Pascal code to hand which will parse Smalltalk-style numbers, i.e. written with an explicit radix indicator? For example, 8r34.1 (octal) parses to 28.125 (decimal) and 2r11e6 parses to 192 (examples from the Smalltalk "Blue Book"). I know it's not too difficult, I'm just

Re: [fpc-pascal] Spurious SIGSEGV on ARMHF with application compiled with fpc trunk

2014-03-02 Thread Reinier Olislagers
On 01/03/2014 11:02, Reinier Olislagers wrote: > fpc trunk r26906, cross compiled fpcup for ARMHF; running on Odroid U3 > Xubuntu; ran under gdb: > fpcup stops with a SIGSEGV: Had tried to build a simple program to repeat the problem, compiled with r26906 and ran it. Of course :( it didn't throw a

Re: [fpc-pascal] Spurious SIGSEGV on ARMHF with application compiled with fpc trunk

2014-03-02 Thread Reinier Olislagers
On 01/03/2014 11:02, Reinier Olislagers wrote: > fpc trunk r26906, cross compiled fpcup for ARMHF; running on Odroid U3 > Xubuntu; ran under gdb: > fpcup stops with a SIGSEGV: Went back to fpc revision 26550 (end of January), rebuilt cross compiler, rebuilt fpcup. Ran fpcup with fpc revision set

Re: [fpc-pascal] Enum scope

2014-03-02 Thread Marcos Douglas
On Fri, Feb 28, 2014 at 4:44 PM, Marcos Douglas wrote: > On Fri, Feb 28, 2014 at 4:22 PM, Sven Barth > wrote: >> On 28.02.2014 19:59, Marcos Douglas wrote: >>> >>> On Fri, Feb 28, 2014 at 3:47 PM, Mattias Gaertner >>> wrote: On Fri, 28 Feb 2014 15:29:03 -0300 Marcos Douglas