Minor bug in posixSystem.cpp

Here you can discuss and share functionality improvements and helper programs to make Context Free better.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
User avatar
pakin
Posts: 40
Joined: Sat Apr 21, 2007 8:59 pm
Location: United States
Contact:

Minor bug in posixSystem.cpp

Post by pakin »

In the message() call in PosixSystem::syntaxError(),

Code: Select all

err.where.begin.filename
needs to be

Code: Select all

err.where.begin.filename->c_str()
to avoid getting a gibberish filename in every syntax-error message.

User avatar
MtnViewJohn
Site Admin
Posts: 875
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Re: Minor bug in posixSystem.cpp

Post by MtnViewJohn »

Thanks. Will fix in the next beta release.

Post Reply