Bug 4635 - bitbake does not interpret inline comments correctly
Summary: bitbake does not interpret inline comments correctly
Status: VERIFIED NOTABUG
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-06-11 12:40 UTC by Stoicescu Cornel
Modified: 2013-10-01 14:41 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stoicescu Cornel 2013-06-11 12:40:22 UTC
master:24d63bd57269f3142c57c2d697c56101f73b23dc

Replacing: 
MACHINE ??= "qemux86-64" 

with:
MACHINE ??= "qemux86-64"#test

or
MACHINE ??= "qemux86-64" #test

will result in a parse error:
ERROR: Unable to parse conf/bitbake.conf: ParseError at /home/cornel/work/2poky/build/conf/local.conf:51: unparsed line: 'MACHINE ??= "qemux86-64" #test'
Comment 1 Stoicescu Cornel 2013-06-11 12:43:52 UTC
Correction:

master:a62aed41f2d8f874f7ae24d0e5be5dbc66ea2199
Comment 2 Richard Purdie 2013-06-20 15:37:12 UTC
I was worried we might support these in some contexts (e.g. bb files) but not others (conf files). My tests show we don't support inline comments in any context. I think this is a reasonable thing for the parser to do so am marking this as not a bug.
Comment 3 Stoicescu Cornel 2013-10-01 14:41:56 UTC
Setting to VERIFIED as per above comment.