Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
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
lvzhengyang
riscv-gcc-1
Commits
36f568c3
Commit
36f568c3
authored
Jul 13, 2007
by
Andreas Schwab
Committed by
Andreas Schwab
Jul 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gengtype-lex.l: Allow declarations to be indented.
From-SVN: r126615
parent
a2bef74c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
gcc/ChangeLog
+4
-0
gcc/gengtype-lex.l
+9
-9
No files found.
gcc/ChangeLog
View file @
36f568c3
2007-07-13 Andreas Schwab <schwab@suse.de>
* gengtype-lex.l: Allow declarations to be indented.
2007-07-12 Geoffrey Keating <geoffk@apple.com>
* ginclude/tgmath.h: New.
...
...
gcc/gengtype-lex.l
View file @
36f568c3
...
...
@@ -65,36 +65,36 @@ EOID [^[:alnum:]_]
/* Things we look for in skipping mode: */
<INITIAL>{
^typedef/{EOID} {
^
{HWS}
typedef/{EOID} {
BEGIN(in_struct);
return TYPEDEF;
}
^struct/{EOID} {
^
{HWS}
struct/{EOID} {
BEGIN(in_struct);
return STRUCT;
}
^union/{EOID} {
^
{HWS}
union/{EOID} {
BEGIN(in_struct);
return UNION;
}
^extern/{EOID} {
^
{HWS}
extern/{EOID} {
BEGIN(in_struct);
return EXTERN;
}
^static/{EOID} {
^
{HWS}
static/{EOID} {
BEGIN(in_struct);
return STATIC;
}
^DEF_VEC_[OP]/{EOID} {
^
{HWS}
DEF_VEC_[OP]/{EOID} {
BEGIN(in_struct);
return DEFVEC_OP;
}
^DEF_VEC_I/{EOID} {
^
{HWS}
DEF_VEC_I/{EOID} {
BEGIN(in_struct);
return DEFVEC_I;
}
^DEF_VEC_ALLOC_[IOP]/{EOID} {
^
{HWS}
DEF_VEC_ALLOC_[IOP]/{EOID} {
BEGIN(in_struct);
return DEFVEC_ALLOC;
}
...
...
@@ -186,7 +186,7 @@ EOID [^[:alnum:]_]
"unterminated comment or string; unexpected EOF");
}
^
"#
define"{WS}"GTY(" /* do nothing */
^
{HWS}"#"{HWS}"
define"{WS}"GTY(" /* do nothing */
{WS}"GTY"{WS}?"(" {
error_at_line (&lexer_line, "stray GTY marker");
}
...
...
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