syntax error in input

View: New views
3 Messages — Rating Filter:   Alert me  

syntax error in input

by Daniel Shields :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

syntax error in input

I've just upgraded to swig 1.3.35 from 1.3.31 and my previously working
interface file no longer generates anything. I get a syntax error for a line
that contains no swig directives. I've checked the release notes for deprecated
functions but have drawn a blank. A noddy test case works as expected.

Running in verbose mode does not help. Any suggestions for narrowing the
problem down?

Thanks,

Daniel. 

--
Daniel Shields
Equities Technology
Goldman Sachs International
+44(0)207 051 4033
+44(0)7717 157558
daniel.shields@...


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user

Re: syntax error in input

by wsfulton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Shields, Daniel P.(Technology) wrote:

> I've just upgraded to swig 1.3.35 from 1.3.31 and my previously working
> interface file no longer generates anything. I get a syntax error for a
> line
> that contains no swig directives. I've checked the release notes for
> deprecated
> functions but have drawn a blank. A noddy test case works as expected.
>
> Running in verbose mode does not help. Any suggestions for narrowing the
> problem down?
>
> Thanks,
>

Daniel, I've found the line reporting for errors to be off a few lines
sometimes, especially if macros are involved. Your best bet is to do
some binary debugging, ie keep commenting out more code until you find
the problem area. I don't recall any backwards compatibility breakages,
so let us know what it is.

William

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user

Re: syntax error in input

by Daniel Shields :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


 >-----Original Message-----

>From: William Fulton [mailto:william@...] On
>Behalf Of William S Fulton
>Sent: Monday, June 02, 2008 9:29 PM
>To: Shields, Daniel P.(Technology)
>Cc: swig-user@...
>Subject: Re: [Swig-user] syntax error in input
>
>Shields, Daniel P.(Technology) wrote:
>> I've just upgraded to swig 1.3.35 from 1.3.31 and my
>previously working
>> interface file no longer generates anything. I get a syntax
>error for a
>> line
>> that contains no swig directives. I've checked the release notes for
>> deprecated
>> functions but have drawn a blank. A noddy test case works as
>expected.
>>
>> Running in verbose mode does not help. Any suggestions for
>narrowing the
>> problem down?
>>
>> Thanks,
>>
>
>Daniel, I've found the line reporting for errors to be off a few lines
>sometimes, especially if macros are involved. Your best bet is to do
>some binary debugging, ie keep commenting out more code until you find
>the problem area. I don't recall any backwards compatibility
>breakages,
>so let us know what it is.
>
>William
>

For now I've reverted back as I'm pushed for time. I will pick through
the file, as you say, steadily commenting out lines. I'll post again
when I find out what the issue is.

Daniel.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user
LightInTheBox - Buy quality products at wholesale price