toke/scanner.c


Log

Author Commit Date CI Message
Stefan Reinauer d89219a0 2017-06-08T18:57:07 Update contact information Remove obsolete email addresses and add OpenBIOS mailing list information. Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Laurent Vivier 499e8134 2015-11-06T15:06:25 toke: fix line parsing on big-endian Trying to compile openbios on Fedora 22 ppc64, I had the following error: toke -o QEMU,VGA.bin ~/openbios/drivers/vga.fs ... Tokenizing ~/openbios/drivers/vga.fs Binary output to QEMU,VGA.bin Warning: File ~/openbios/drivers/vga.fs, Line 1. Unterminated comment Nothing Tokenized. 1 Warning. This can be reproduced with the fcode-utils examples. "toke" is parsing the comment line until it finds a '\n'. The '\n' is stored as a char in a field of an union, but it is read as a long. It works well on little endian but not on big endian. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/fcode-utils-devel@1354 f158a5a8-5612-0410-a976-696ce0be7e32
Stefan Reinauer 76f2e7bb 2010-04-26T15:57:21 update headers git-svn-id: svn://coreboot.org/openbios/trunk/fcode-utils-devel@758 f158a5a8-5612-0410-a976-696ce0be7e32
Stefan Reinauer 60c9c198 2006-10-30T09:48:28 tokenizer v 1.0.2, contribution by David Paktor <dlpaktor@netscape.net> git-svn-id: svn://coreboot.org/openbios/fcode-utils@100 f158a5a8-5612-0410-a976-696ce0be7e32
Stefan Reinauer 6dcfd5aa 2006-10-14T20:19:21 merge David Paktor's changes for toke 1.0.1 git-svn-id: svn://coreboot.org/openbios/fcode-utils@90 f158a5a8-5612-0410-a976-696ce0be7e32
Stefan Reinauer fbd83855 2006-08-18T12:47:12 initial merge of David Paktor's fine work. I redid all of the Makefiles and fixed some minor issues with the code. git-svn-id: svn://coreboot.org/openbios/fcode-utils@76 f158a5a8-5612-0410-a976-696ce0be7e32
Stefan Reinauer 837b7737 2006-08-18T09:07:34 moving fcode suite to an extra directory git-svn-id: svn://coreboot.org/openbios/fcode-utils@74 f158a5a8-5612-0410-a976-696ce0be7e32