You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
__FB_ARG_EXTRACT__ currently uses a simple internal compiler procedure hSplitStr() to find the arguments in text; this procedure does not recognize other common forms found in fbc source code.
As shown in the following example, we should expect same output for both DUMP1() and DUMPX() macros.
jayrm
changed the title
__FB_ARG_EXTRACT__ incorrectly recognizes commas nested in other forms__FB_ARG_EXTRACT__ incorrectly recognizes commas nested in other forms with variadic macros
Jun 19, 2021
It is suggested that the above example be changed as follows:
??? - maybe this was supposed to be an example for #312 ?
ok, updated the title of this PR. The issue is with variadic macros. In the original example given in this PR we should expect same output for dump1() and dumpx()
__FB_ARG_EXTRACT__
currently uses a simple internal compiler procedurehSplitStr()
to find the arguments in text; this procedure does not recognize other common forms found in fbc source code.As shown in the following example, we should expect same output for both
DUMP1()
andDUMPX()
macros.Example:
Currently working on a fix by implementing a
hStr2Args()
procedure that recognizes comma's nested in parentheses, quotes, and comments.The text was updated successfully, but these errors were encountered: