Better SourcePos reporting for gathers/scatters
This commit is contained in:
3
ispc.h
3
ispc.h
@@ -104,7 +104,8 @@ struct VariableDeclaration;
|
||||
lexing code). Both lines and columns are counted starting from one.
|
||||
*/
|
||||
struct SourcePos {
|
||||
SourcePos(const char *n = NULL, int l = 0, int c = 0);
|
||||
SourcePos(const char *n = NULL, int fl = 0, int fc = 0,
|
||||
int ll = 0, int lc = 0);
|
||||
|
||||
const char *name;
|
||||
int first_line;
|
||||
|
||||
Reference in New Issue
Block a user