diff options
author | Martin Roth <martinroth@google.com> | 2017-04-08 17:05:23 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-04-24 19:00:45 +0200 |
commit | 6d189cc47bf1f0c7d7f7cbf7efbe5a41ebcbc4af (patch) | |
tree | bc6357f6205d8397e2f7c9e5f7306b95e3075a4b /gnat.adc | |
parent | 097d75398081093f2a95abee0994362ddb838d18 (diff) |
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.
Change-Id: I002962cfae0816ed3c7a5811dfb1b8b48fdc5729
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/19230
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'gnat.adc')
0 files changed, 0 insertions, 0 deletions