[Android Software/Hacking General [Developers Only]] hlxanthus:
So, I am trying to use this

include("AromaGapps.edify");

within aroma. But I keep getting syntax errors.

I pull the code out of the .edify file and inject it directly into the aroma-config and it works perfectly with no errors. Is there some thing I am missing?

ERROR!!! aroma-config: SYNTAX ERROR in AromaGapps.edify on line 97 col 11

I don't know what is going on, that code doesn't seem to point to anything (and it is always line 97 even if trimmed down so there are less lines than that)

aroma-config

ini_set("force_colorspace","rgba");

ini_set("rom_name", "OctOS Aroma Gapps");
ini_set("rom_version", "0.1");
ini_set("rom_author", "hlxanthus");
ini_set("rom_device", "Any Device");
ini_set("rom_date", "March 3, 2014");

theme("ics");

fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf;", "12" );
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf;", "14" );

splash(
5000,
"OctOS"
);

viewbox(
"Welcome to the OctOS Gapps Installer!!",
"You have chosen to install <b>"+
ini_get("rom_name")+
"</b> for the <b>"+ini_get("rom_device")+"</b>.\n\n"+

"<~Welcome!!>\n\n"+

" VERSION\t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+
" AUTHOR\t	: <b><#selectbg_g>"+ini_get("rom_author")+"</#></b>\n"+
" RELEASED\t: <b><#selectbg_g>"+ini_get("rom_date")+"</#></b>\n\n\n"+

"Press Next to Proceed...",
"@welcome"
);

include("AromaGapps.edify");

viewbox(
"Ready to Install your Customized ROM",

"The wizard is ready to begin installation.\n\n"+
"Press <b>Next</b> to begin the installation.\n\n"+
"If you want to review or change any of your installation settings, press <b>Back</b>. Press Menu Key -> Quit Installation to exit the wizard.",

"@install"
);

ini_set("text_next", "Next");
ini_set("icon_next", "@next");

install(
"Installing",
"Installing your Google Edition OctOS 4.3 Rom...\nPlease wait until it finishes...",
"@install"
);

ini_set("text_next", "Finish");

viewbox(
"Installation Completed",
"<b>Congratulations!</b>\n\n"+
"Your Google Edition OctOS 4.3 Rom has been successfully installed!\n\n"+
"Enjoy and Profit!!\n\nPress Finish and Reboot your phone.",
"@info"
);

#---- FINISH

AromaGapps.edify

# Gapps Core Selection -- Google App Selection
#-------------------------------------------------------------
selectbox(
"Gapps Selection, Powered by PA-Gapps",
"Check the one you want",
"@personalize",
"gapps_core.prop",

"Google Stock Package","For the full Nexus Experience",1,
"Full Modular Package","Same as above, leaves default apps in place. No Google Keyboard or Photoshere Camera",0,
"Mini Modular Package","A slim Google Apps installation",0,
"Barebones Package","Just enough for Play Store to work",0,
"Customize","You Choose which apps you want!!",0,
"Skip Gapps Install","",0
);

if prop("gapps_core.prop","selected.0") == "1" then
writetmpfile(
"gapps.prop",

"item.1.1=1\n"+
"item.1.2=1\n"+
"item.1.3=1\n"+
"item.1.4=1\n"+
"item.1.5=1\n"+
"item.1.6=1\n"+
"item.1.7=1\n"+
"item.1.8=1\n"+
"item.1.9=1\n"+
"item.1.10=0\n"+
"item.1.11=1\n"+
"item.1.12=1\n"+
"item.1.13=1\n"+
"item.1.14=1\n"+
"item.1.15=1\n"+
"item.1.16=1\n"+
"item.1.17=1\n"+
"item.1.18=0\n"+
"item.1.19=1\n"+
"item.1.20=1\n"+
"item.2.1=1\n"+
"item.2.2=1\n"+
"item.2.3=1\n"+
"item.2.4=1\n"+
"item.2.5=1\n"+
"item.2.6=1\n"+
"item.2.7=1\n"
);
endif;

if prop("gapps_core.prop","selected.0") == "2" then
writetmpfile(
"gapps.prop",

"item.1.1=1\n"+
"item.1.2=1\n"+
"item.1.3=1\n"+
"item.1.4=1\n"+
"item.1.5=1\n"+
"item.1.6=1\n"+
"item.1.7=1\n"+
"item.1.8=1\n"+
"item.1.9=1\n"+
"item.1.10=0\n"+
"item.1.11=1\n"+
"item.1.12=1\n"+
"item.1.13=1\n"+
"item.1.14=1\n"+
"item.1.15=1\n"+
"item.1.16=1\n"+
"item.1.17=1\n"+
"item.1.18=0\n"+
"item.1.19=1\n"+
"item.1.20=1\n"+
"item.2.1=1\n"+
"item.2.2=1\n"+
"item.2.3=1\n"+
"item.2.4=1\n"+
"item.2.5=1\n"+
"item.2.6=1\n"+
"item.2.7=1\n"
);
endif;

if prop("gapps_core.prop","selected.0") == "3" then
writetmpfile(
"gapps.prop",

"item.1.1=1\n"+
"item.1.2=0\n"+
"item.1.3=0\n"+
"item.1.4=0\n"+
"item.1.5=0\n"+
"item.1.6=1\n"+
"item.1.7=1\n"+
"item.1.8=1\n"+
"item.1.9=1\n"+
"item.1.10=0\n"+
"item.1.11=1\n"+
"item.1.12=0\n"+
"item.1.13=0\n"+
"item.1.14=1\n"+
"item.1.15=0\n"+
"item.1.16=1\n"+
"item.1.17=0\n"+
"item.1.18=0\n"+
"item.1.19=1\n"+
"item.1.20=0\n"+
"item.2.1=0\n"+
"item.2.2=0\n"+
"item.2.3=0\n"+
"item.2.4=0\n"+
"item.2.5=0\n"+
"item.2.6=0\n"+
"item.2.7=1\n"
);
endif;

if prop("gapps_core.prop","selected.0") == "4" then
writetmpfile(
"gapps.prop",

"item.1.1=0\n"
);
endif;

if prop("gapps_core.prop","selected.0") == "5" then
checkbox(
"Google Apps",
"Check the ones you want",
"@personalize",
"gapps.prop",

"<b><#selectbg_g>Core Apps</#></b>","",2,

"Calendar","",1,
"Chrome","",1,
"CloudPrint","",1,
"Drive","",1,
"Earth","",1,
"Gmail","",1,
"Google+","",1,
"Google Now","",1,
"Google Now Launcher","Will install Google Now regardless of above choice",1,
"Google Voice","",1,
"Hangouts","",1,
"Keep","",1,
"Keyboard","",1,
"Maps","",1,
"QuickOffice","",1,
"Street","",1,
"Talkback","",1,
"Translate","",1,
"Text to Speech","",1,
"Wallet","",1,

"<b><#selectbg_g>Media Apps</#></b>","",2,

"Books","",1,
"Movies & TV","",1,
"Music","",1,
"Newsstand","",1,
"Play Games","",1,
"Sound Search for Google Play","",1,
"YouTube","",1
);
endif;

if prop("gapps_core.prop","selected.0") == "6" then
writetmpfile(
"gapps.prop",

"item.1.1=0\n"+
);
endif;
#-------------------------------------------------------------