Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
0359de7d
K
Kernel
项目概览
openeuler
/
Kernel
接近 2 年 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
0359de7d
编写于
10月 11, 2011
作者:
M
Michal Marek
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
genksyms: Regenerate lexer and parser
上级
2c5925d6
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
358 addition
and
306 deletion
+358
-306
scripts/genksyms/lex.lex.c_shipped
scripts/genksyms/lex.lex.c_shipped
+10
-2
scripts/genksyms/parse.tab.c_shipped
scripts/genksyms/parse.tab.c_shipped
+345
-300
scripts/genksyms/parse.tab.h_shipped
scripts/genksyms/parse.tab.h_shipped
+3
-4
未找到文件。
scripts/genksyms/lex.lex.c_shipped
浏览文件 @
0359de7d
...
@@ -660,7 +660,7 @@ static int input (void );
...
@@ -660,7 +660,7 @@ static int input (void );
/* This used to be an fputs(), but since the string might contain NUL's,
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
* we now use fwrite().
*/
*/
#define ECHO
do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0
)
#define ECHO
fwrite( yytext, yyleng, 1, yyout
)
#endif
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
...
@@ -671,7 +671,7 @@ static int input (void );
...
@@ -671,7 +671,7 @@ static int input (void );
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
{ \
int c = '*'; \
int c = '*'; \
unsigned
n; \
int
n; \
for ( n = 0; n < max_size && \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
buf[n] = (char) c; \
...
@@ -1926,6 +1926,7 @@ void yyfree (void * ptr )
...
@@ -1926,6 +1926,7 @@ void yyfree (void * ptr )
cur_node->tag = \
cur_node->tag = \
find_symbol(cur_node->string, SYM_ENUM_CONST, 1)?\
find_symbol(cur_node->string, SYM_ENUM_CONST, 1)?\
SYM_ENUM_CONST : SYM_NORMAL ; \
SYM_ENUM_CONST : SYM_NORMAL ; \
cur_node->in_source_file = in_source_file; \
} while (0)
} while (0)
#define APP _APP(yytext, yyleng)
#define APP _APP(yytext, yyleng)
...
@@ -1975,6 +1976,13 @@ repeat:
...
@@ -1975,6 +1976,13 @@ repeat:
cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);
cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);
cur_line = atoi(yytext+2);
cur_line = atoi(yytext+2);
if (!source_file) {
source_file = xstrdup(cur_filename);
in_source_file = 1;
} else {
in_source_file = (strcmp(cur_filename, source_file) == 0);
}
goto repeat;
goto repeat;
}
}
...
...
scripts/genksyms/parse.tab.c_shipped
浏览文件 @
0359de7d
此差异已折叠。
点击以展开。
scripts/genksyms/parse.tab.h_shipped
浏览文件 @
0359de7d
/* A Bison parser, made by GNU Bison 2.
4.3
. */
/* A Bison parser, made by GNU Bison 2.
5
. */
/*
Skeleton interface for Bison's
Yacc-like parsers in C
/*
Bison interface for
Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
2009, 2010 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
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
it under the terms of the GNU General Public License as published by
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录