Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 17 Feb 2003
Offline Last Active Apr 28 2016 12:45 AM

Posts I've Made

In Topic: So difficult to find 3d artists!

20 February 2016 - 10:35 PM

So where are better places to find artists?

In Topic: Line numbers for non-terminated string literal?

15 July 2014 - 11:39 PM

Awesome.  Yea its very likely none of my string literals contained ; to end a statement block, that may be why it never flagged any more errors?

In Topic: Line numbers for non-terminated string literal?

14 July 2014 - 10:01 PM

No, It does not give any other errors (Unless my code is somehow obscuring them). It does not appear to detect that "Hello" is not valid syntax if it did pick up the parsing wrong.


Even in a *very* large file, it gave no errors whatsoever except for 'non-terminated string literal' on a the very last string literal of the file. that is why I thought it was so odd. I would understand if the parser puked a few lines after the non-terminated string literal, but when it complains at the very last valid literal suggests that it something is going wrong in detection.


And yea, I didn't think that Angelscript supported multi-line string literals using ", I thought that only worked with """

Hence detecting a broken " string literal should be easy, Just look for a newline in the middle of a " and you know its wrong. I thought that is what the existing code did, but for some reason it kept going after the error and reported the error on the very last string literal to be parsed.

In Topic: Add-ons license

13 July 2014 - 03:48 PM

Thank you for the very liberal licensing of Angelscript. Its really refreshing to be able to use the code however is needed without worry.

In Topic: Is this assignment operator correct?

20 April 2014 - 05:22 AM

Ah, So should I just register the =operator directly like this?

r = scriptEngine->RegisterObjectMethod("ObjectPicker", "ObjectPicker & opAssign(const ObjectPicker &in)", asMETHOD(ObjectPicker,operator=), asCALL_THISCALL); assert( r >= 0 );