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
3e81ad16
Commit
3e81ad16
authored
26 years ago
by
Felix Lee
Committed by
Jeff Law
26 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
From-SVN: r22512
parent
b2a1e458
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
gcc/cp/ChangeLog
+4
-0
gcc/cp/lex.c
+1
-5
No files found.
gcc/cp/ChangeLog
View file @
3e81ad16
Mon Sep 21 01:53:05 1998 Felix Lee <flee@cygnus.com>
* lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
1998-09-20 Mark Mitchell <mark@markmitchell.com>
* class.c (maybe_warn_about_overly_private_class): Reformat.
...
...
This diff is collapsed.
Click to expand it.
gcc/cp/lex.c
View file @
3e81ad16
...
...
@@ -42,10 +42,6 @@ Boston, MA 02111-1307, USA. */
#ifdef MULTIBYTE_CHARS
#include "mbchar.h"
#include <locale.h>
#ifndef GET_ENVIRONMENT
#define GET_ENVIRONMENT(ENV_VALUE,ENV_NAME) ((ENV_VALUE) = getenv (ENV_NAME))
#endif
#endif
#define obstack_chunk_alloc xmalloc
...
...
@@ -475,7 +471,7 @@ init_parse (filename)
#ifdef MULTIBYTE_CHARS
/* Change to the native locale for multibyte conversions. */
setlocale
(
LC_CTYPE
,
""
);
GET_ENVIRONMENT
(
literal_codeset
,
"LANG"
);
literal_codeset
=
getenv
(
"LANG"
);
#endif
#if USE_CPPLIB
...
...
This diff is collapsed.
Click to expand it.
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