projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
binutils: Add a new function to initialise DWARF register name state
[deliverable/binutils-gdb.git]
/
binutils
/
rclex.c
diff --git
a/binutils/rclex.c
b/binutils/rclex.c
index 07ae17988d4cae6054b3589f3d1c7d7bda8bd531..37d4309f48dd67ab55dce08271619ae61ad8cac0 100644
(file)
--- a/
binutils/rclex.c
+++ b/
binutils/rclex.c
@@
-1,7
+1,6
@@
/* rclex.c -- lexer for Windows rc files parser */
/* rclex.c -- lexer for Windows rc files parser */
-/* Copyright 1997, 1998, 1999, 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009
- Free Software Foundation, Inc.
+/* Copyright (C) 1997-2019 Free Software Foundation, Inc.
Written by Kai Tietz, Onevision.
Written by Kai Tietz, Onevision.
@@
-41,7
+40,7
@@
static int rcdata_mode;
static int rcdata_mode;
-/* Whether we are supressing lines from cpp (including windows.h or
+/* Whether we are sup
p
ressing lines from cpp (including windows.h or
headers from your C sources may bring in externs and typedefs).
When active, we return IGNORED_TOKEN, which lets us ignore these
outside of resource constructs. Thus, it isn't required to protect
headers from your C sources may bring in externs and typedefs).
When active, we return IGNORED_TOKEN, which lets us ignore these
outside of resource constructs. Thus, it isn't required to protect
@@
-148,7
+147,7
@@
cpp_line (void)
++s;
while (ISSPACE (*s))
++s;
++s;
while (ISSPACE (*s))
++s;
-
+
/* Check for #pragma code_page ( DEFAULT | <nr>). */
len = strlen (s);
mlen = strlen ("pragma");
/* Check for #pragma code_page ( DEFAULT | <nr>). */
len = strlen (s);
mlen = strlen ("pragma");
@@
-704,7
+703,7
@@
rclex_string (void)
c = -1;
}
while (c != -1);
c = -1;
}
while (c != -1);
-
+
if (rclex_peekch () == '"')
rclex_readch ();
else
if (rclex_peekch () == '"')
rclex_readch ();
else
@@
-782,7
+781,7
@@
yylex (void)
/* Clear token. */
rclex_tok_pos = 0;
rclex_tok[0] = 0;
/* Clear token. */
rclex_tok_pos = 0;
rclex_tok[0] = 0;
-
+
if ((ch = rclex_readch ()) == -1)
return -1;
if (ch == '\n')
if ((ch = rclex_readch ()) == -1)
return -1;
if (ch == '\n')
@@
-798,15
+797,15
@@
yylex (void)
cpp_line ();
ch = IGNORED_TOKEN;
break;
cpp_line ();
ch = IGNORED_TOKEN;
break;
-
+
case '{':
ch = IGNORE_CPP (BEG);
break;
case '{':
ch = IGNORE_CPP (BEG);
break;
-
+
case '}':
ch = IGNORE_CPP (END);
break;
case '}':
ch = IGNORE_CPP (END);
break;
-
+
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
yylval.i.val = read_digit (ch);
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
yylval.i.val = read_digit (ch);
This page took
0.024799 seconds
and
4
git commands to generate.