Problem with sufixes with FB v.1.06

General discussion for topics related to the FreeBASIC project or its community.
Post Reply
Josep Roca
Posts: 564
Joined: Sep 27, 2016 18:20
Location: Valencia, Spain

Problem with sufixes with FB v.1.06

Post by Josep Roca »

FB 1.06 fails with error 108 even if the suffix appears in a remed line, e.g.:

'$JK_CLSID_FilterGraph = GUID$("{E436EBB3-524F-11CE-9F53-0020AF0BA770}")
Last edited by Josep Roca on Jun 22, 2018 18:18, edited 1 time in total.
coderJeff
Site Admin
Posts: 4313
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada
Contact:

Re: Problem with sufixes with GB v.1.06

Post by coderJeff »

Yeah, a bug. See #866 fbc throws lexer errors in comments stating with $

fbc confuses it for a QB-style '$ directive.

I typically use 2 single quote characters, probably habit from C++ style line comments also available in later versions of C

Is OK:

Code: Select all

''$JK_CLSID_FilterGraph    = GUID$("{E436EBB3-524F-11CE-9F53-0020AF0BA770}")
Post Reply