forked from qt-creator/qt-creator
GLSL: Re-generate parser
...by running ./make-parser.sh to make a subsequent change less noisy. qlalr in PATH is from Qt 5.9.1. Change-Id: Ia39181b55cd0e16207fa809f0db92cdeba3b095c Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
||||
|
||||
#line 215 "./glsl.g"
|
||||
#line 210 "./glsl.g"
|
||||
|
||||
/****************************************************************************
|
||||
**
|
||||
@@ -114,7 +114,7 @@ private:
|
||||
inline int consumeToken() {
|
||||
if (_index < int(_tokens.size()))
|
||||
return _index++;
|
||||
return static_cast<int>(_tokens.size()) - 1;
|
||||
return _tokens.size() - 1;
|
||||
}
|
||||
inline const Token &tokenAt(int index) const {
|
||||
if (index == 0)
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -3,8 +3,9 @@
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of Qt Creator.
|
||||
** This file is part of the Qt Toolkit.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
|
||||
** Commercial License Usage
|
||||
** Licensees holding valid commercial Qt licenses may use this file in
|
||||
** accordance with the commercial license agreement provided with the
|
||||
@@ -21,6 +22,8 @@
|
||||
** information to ensure the GNU General Public License requirements will
|
||||
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
//
|
||||
@@ -35,9 +38,10 @@
|
||||
//
|
||||
|
||||
// This file was generated by qlalr - DO NOT EDIT!
|
||||
#pragma once
|
||||
#ifndef GLSLPARSERTABLE_P_H
|
||||
#define GLSLPARSERTABLE_P_H
|
||||
|
||||
#include <qglobal.h>
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
@@ -228,18 +232,18 @@ public:
|
||||
NON_TERMINAL_COUNT = 85,
|
||||
|
||||
GOTO_INDEX_OFFSET = 463,
|
||||
GOTO_INFO_OFFSET = 4681,
|
||||
GOTO_CHECK_OFFSET = 4681
|
||||
GOTO_INFO_OFFSET = 4708,
|
||||
GOTO_CHECK_OFFSET = 4708
|
||||
};
|
||||
|
||||
static const char *const spell [];
|
||||
static const short lhs [];
|
||||
static const short rhs [];
|
||||
static const short goto_default [];
|
||||
static const short action_default [];
|
||||
static const short action_index [];
|
||||
static const short action_info [];
|
||||
static const short action_check [];
|
||||
static const char *const spell[];
|
||||
static const short lhs[];
|
||||
static const short rhs[];
|
||||
static const short goto_default[];
|
||||
static const short action_default[];
|
||||
static const short action_index[];
|
||||
static const short action_info[];
|
||||
static const short action_check[];
|
||||
|
||||
static inline int nt_action (int state, int nt)
|
||||
{
|
||||
@@ -263,3 +267,5 @@ public:
|
||||
|
||||
|
||||
QT_END_NAMESPACE
|
||||
#endif // GLSLPARSERTABLE_P_H
|
||||
|
||||
|
Reference in New Issue
Block a user