fcm
fcm copied to clipboard
fcm make: Error parsing contractions in comments
FCM is ignoring lines that have an apostrophy in an inline comment
$foo = -a # Can't use contractions!
build.prop{fc.flags} = $foo
I expect that FCM will use the flag -a
, however no flags actually get used
$ cat fcm-make-as-parsed.cfg
build.prop{fc.flags} =
Per http://metomi.github.io/fcm/doc/user_guide/annex_cfg.html#syntax.comment any characters on a line after the #
should get ignored. If you add a second apostrophy to the comment it gets parsed correctly
$foo = -a # ''
build.prop{fc.flags} = $foo
$ cat fcm-make-as-parsed.cfg
build.prop{fc.flags} = a