View unanswered posts | View active topics



Reply to topic  [ 3 posts ] 
Error when parsing hxml with "--" arguments 
Author Message
Member

Joined: Wed Sep 09, 2009 10:58 am
Posts: 10
Reply with quote
I've noticed when having a project with Platform "hxml", that autocompletion doesn't work when the hxml file has a argument with "--" in it. For example:

Code:
--macro npm.Package.export("package.json")

In that case when doing autocompletion, I get this error in the Output window:
Code:
--macro:1: character 0 : Could not parse `npm.Package.export(package.json)`
--macro:1: character 0 : Unexpected package


Tue Mar 01, 2016 3:34 pm
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
And if you replace the double quotes by single ones?


Tue Mar 01, 2016 10:41 pm
Profile WWW
Member

Joined: Wed Sep 09, 2009 10:58 am
Posts: 10
Reply with quote
That works! Thanks, a good enough fix for now. :)


Fri Mar 04, 2016 12:40 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.