Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angle
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
angle
Commits
36be856c
Commit
36be856c
authored
Sep 23, 2013
by
Jamie Madill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generate a new grammar with the Bison 2.7.1, the latest cygwin version.
TRAC #23854 Signed-off-by: Shannon Woods Signed-off-by: Nicolas Capens
parent
ba615196
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
22 deletions
+20
-22
glslang_lex.cpp
src/compiler/glslang_lex.cpp
+17
-19
glslang_tab.cpp
src/compiler/glslang_tab.cpp
+2
-2
glslang_tab.h
src/compiler/glslang_tab.h
+1
-1
No files found.
src/compiler/glslang_lex.cpp
View file @
36be856c
...
...
@@ -30,7 +30,7 @@
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#define YY_FLEX_SUBMINOR_VERSION 3
5
#define YY_FLEX_SUBMINOR_VERSION 3
7
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
...
...
@@ -181,15 +181,7 @@ typedef void* yyscan_t;
/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
#ifdef __ia64__
/* On IA-64, the buffer size is 16k, not 8k.
* Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
* Ditto for the __ia64__ case accordingly.
*/
#define YY_BUF_SIZE 32768
#else
#define YY_BUF_SIZE 16384
#endif
/* __ia64__ */
#endif
/* The state buf must be large enough to hold one state per character in the main buffer.
...
...
@@ -206,6 +198,11 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
typedef
size_t
yy_size_t
;
#endif
#ifndef YY_TYPEDEF_YY_SIZE_T
#define YY_TYPEDEF_YY_SIZE_T
typedef
size_t
yy_size_t
;
#endif
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
...
...
@@ -369,7 +366,7 @@ void yyfree (void * ,yyscan_t yyscanner );
/* Begin user sect3 */
#define yywrap(
n
) 1
#define yywrap(
yyscanner
) 1
#define YY_SKIP_YYWRAP
typedef
unsigned
char
YY_CHAR
;
...
...
@@ -1108,6 +1105,10 @@ int yyget_lineno (yyscan_t yyscanner );
void
yyset_lineno
(
int
line_number
,
yyscan_t
yyscanner
);
int
yyget_column
(
yyscan_t
yyscanner
);
void
yyset_column
(
int
column_no
,
yyscan_t
yyscanner
);
YYSTYPE
*
yyget_lval
(
yyscan_t
yyscanner
);
void
yyset_lval
(
YYSTYPE
*
yylval_param
,
yyscan_t
yyscanner
);
...
...
@@ -1148,12 +1149,7 @@ static int input (yyscan_t yyscanner );
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#ifdef __ia64__
/* On IA-64, the buffer size is 16k, not 8k */
#define YY_READ_BUF_SIZE 16384
#else
#define YY_READ_BUF_SIZE 8192
#endif
/* __ia64__ */
#endif
/* Copy whatever the last rule matched to the standard output. */
...
...
@@ -2231,7 +2227,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
{
/* Not enough room in the buffer - grow it. */
/* just a shorter name for the current buffer */
YY_BUFFER_STATE
b
=
YY_CURRENT_BUFFER
;
YY_BUFFER_STATE
b
=
YY_CURRENT_BUFFER
_LVALUE
;
int
yy_c_buf_p_offset
=
(
int
)
(
yyg
->
yy_c_buf_p
-
b
->
yy_ch_buf
);
...
...
@@ -2366,6 +2362,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
yy_current_state
=
yy_nxt
[
yy_base
[
yy_current_state
]
+
(
unsigned
int
)
yy_c
];
yy_is_jam
=
(
yy_current_state
==
812
);
(
void
)
yyg
;
return
yy_is_jam
?
0
:
yy_current_state
;
}
...
...
@@ -2783,7 +2780,8 @@ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len
{
YY_BUFFER_STATE
b
;
char
*
buf
;
yy_size_t
n
,
i
;
yy_size_t
n
;
yy_size_t
i
;
/* Get memory for full buffer, including space for trailing EOB's. */
n
=
_yybytes_len
+
2
;
...
...
@@ -2929,7 +2927,7 @@ void yyset_lineno (int line_number , yyscan_t yyscanner)
/* lineno is only valid if an input buffer exists. */
if
(
!
YY_CURRENT_BUFFER
)
yy_fatal_error
(
"yyset_lineno called with no buffer"
,
yyscanner
);
YY_FATAL_ERROR
(
"yyset_lineno called with no buffer"
);
yylineno
=
line_number
;
}
...
...
@@ -2944,7 +2942,7 @@ void yyset_column (int column_no , yyscan_t yyscanner)
/* column is only valid if an input buffer exists. */
if
(
!
YY_CURRENT_BUFFER
)
yy_fatal_error
(
"yyset_column called with no buffer"
,
yyscanner
);
YY_FATAL_ERROR
(
"yyset_column called with no buffer"
);
yycolumn
=
column_no
;
}
...
...
src/compiler/glslang_tab.cpp
View file @
36be856c
/* A Bison parser, made by GNU Bison 2.7.1
2-4996
. */
/* A Bison parser, made by GNU Bison 2.7.1. */
/* Bison implementation for Yacc-like parsers in C
...
...
@@ -44,7 +44,7 @@
#define YYBISON 1
/* Bison version. */
#define YYBISON_VERSION "2.7.1
2-4996
"
#define YYBISON_VERSION "2.7.1"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
...
...
src/compiler/glslang_tab.h
View file @
36be856c
/* A Bison parser, made by GNU Bison 2.7.1
2-4996
. */
/* A Bison parser, made by GNU Bison 2.7.1. */
/* Bison interface for Yacc-like parsers in C
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment