MacroExpander.scanArguments

Scans until the closing parenthesis is found. Sets p to one char past it.

struct MacroExpander
scanArguments
in { assert (args.length == 10); }
out (outargs) { assert (outargs.length != 1); }

Parameters

args
Type: cstring[]

Provides space for at least 10 arguments.

ref_p
Type: cchar*

Will point to Macro.Marker.Closing or Marker.Unclosed, or to textEnd if it wasn't found.

Return Value

Type: cstring[]

[arg0, arg1, arg2 ...].

Meta