Problem with sufixes with FB v.1.06

For other topics related to the FreeBASIC project or its community.
Josep Roca
Posts: 379
Joined: Sep 27, 2016 18:20
Location: Valencia, Spain

Problem with sufixes with FB v.1.06

Postby Josep Roca » Jun 22, 2018 17:24

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: 2685
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada
Contact:

Re: Problem with sufixes with GB v.1.06

Postby coderJeff » Jun 22, 2018 17:47

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}")

Return to “Community Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests