Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
韩楚风
toadb
提交
361c1586
T
toadb
项目概览
韩楚风
/
toadb
8 个月 前同步成功
通知
24
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
2
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
代码片段
项目成员
Pages
T
toadb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
2
Issue
2
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
361c1586
编写于
5月 27, 2023
作者:
S
senllang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add flex/bison file
上级
0ecfca2b
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
3588 addition
and
0 deletion
+3588
-0
grammar.c
grammar.c
+1577
-0
grammar.h
grammar.h
+83
-0
scanner.c
scanner.c
+1928
-0
未找到文件。
grammar.c
0 → 100644
浏览文件 @
361c1586
此差异已折叠。
点击以展开。
grammar.h
0 → 100644
浏览文件 @
361c1586
/* A Bison parser, made by GNU Bison 3.0.4. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
#ifndef YY_YY_GRAMMAR_H_INCLUDED
# define YY_YY_GRAMMAR_H_INCLUDED
/* Debug traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern
int
yydebug
;
#endif
/* Token type. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
enum
yytokentype
{
SELECT
=
258
,
CREATE
=
259
,
TABLE
=
260
,
FROM
=
261
,
DELETE
=
262
,
DROP
=
263
,
INSERT
=
264
,
UPDATE
=
265
,
IDENT
=
266
};
#endif
/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
union
YYSTYPE
{
#line 13 "grammar.y"
/* yacc.c:1909 */
char
*
sval
;
char
op
;
#line 71 "grammar.h"
/* yacc.c:1909 */
};
typedef
union
YYSTYPE
YYSTYPE
;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif
extern
YYSTYPE
yylval
;
int
yyparse
(
void
);
#endif
/* !YY_YY_GRAMMAR_H_INCLUDED */
scanner.c
0 → 100644
浏览文件 @
361c1586
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录