summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser/qmljsastfwd_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/parser/qmljsastfwd_p.h')
-rw-r--r--src/declarative/qml/parser/qmljsastfwd_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/parser/qmljsastfwd_p.h b/src/declarative/qml/parser/qmljsastfwd_p.h
index f79cfc2..a6fee1d 100644
--- a/src/declarative/qml/parser/qmljsastfwd_p.h
+++ b/src/declarative/qml/parser/qmljsastfwd_p.h
@@ -62,9 +62,9 @@ namespace QmlJS { namespace AST {
class SourceLocation
{
public:
- SourceLocation(quint32 offset = 0, quint32 length = 0)
+ SourceLocation(quint32 offset = 0, quint32 length = 0, quint32 line = 0, quint32 column = 0)
: offset(offset), length(length),
- startLine(0), startColumn(0)
+ startLine(line), startColumn(column)
{ }
bool isValid() const { return length != 0; }