switch-coreboot/util/blobtool
Martin Roth 037f6d1809 UPSTREAM: util/blobtool: clean up blobtool.l a bit
- Rewrite STRING and COMMENT expressions to remove need for CHARS.
- Clean up regular expressions - get rid of unnecessary expressions.
- Remove extra newline from the end of the file.

- Clean up stripquotes() function
-- Remove unnecessary backslashes in '\"'
-- Check malloc for failure
-- Remove unnecessary assignment of 0 to the end of the new string,
snprintf will take care of it.

- Update blobtool.lex.c_shipped to the new version.

BUG=none
BRANCH=none
TEST=none

Change-Id: I57e90fbbd56ad24c36e3a4ea1b4ffb05bc6fd5ec
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 6d189cc47b
Original-Change-Id: I002962cfae0816ed3c7a5811dfb1b8b48fdc5729
Original-Signed-off-by: Martin Roth <martinroth@google.com>
Original-Reviewed-on: https://review.coreboot.org/19230
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/486742
2017-04-26 07:17:29 -07:00
..
blobtool.l UPSTREAM: util/blobtool: clean up blobtool.l a bit 2017-04-26 07:17:29 -07:00
blobtool.lex.c_shipped UPSTREAM: util/blobtool: clean up blobtool.l a bit 2017-04-26 07:17:29 -07:00
blobtool.tab.c_shipped UPSTREAM: util/blobtool: Hook into coreboot build 2017-04-18 13:19:00 -07:00
blobtool.tab.h_shipped UPSTREAM: util/blobtool: Hook into coreboot build 2017-04-18 13:19:00 -07:00
blobtool.y UPSTREAM: util/blobtool: Add new tool for compiling/decompiling data blobs 2017-02-06 10:37:43 -08:00
gbe-ich9m.set UPSTREAM: util/blobtool: Add new tool for compiling/decompiling data blobs 2017-02-06 10:37:43 -08:00
gbe-ich9m.spec UPSTREAM: util/blobtool: Add new tool for compiling/decompiling data blobs 2017-02-06 10:37:43 -08:00
ifd-x200.set UPSTREAM: util/blobtool: Add new tool for compiling/decompiling data blobs 2017-02-06 10:37:43 -08:00
ifd-x200.spec UPSTREAM: util/blobtool: Add new tool for compiling/decompiling data blobs 2017-02-06 10:37:43 -08:00
it8718f-ec.spec UPSTREAM: util/blobtool: Add new tool for compiling/decompiling data blobs 2017-02-06 10:37:43 -08:00
Makefile UPSTREAM: util/blobtool: Add new tool for compiling/decompiling data blobs 2017-02-06 10:37:43 -08:00
Makefile.inc UPSTREAM: util/blobtool & sconfig: Update GENPARSER Kconfig question 2017-04-18 13:19:01 -07:00