+2013-11-07 Yao Qi <yao@codesourcery.com>
+
+ * language.h (struct language_defn) <la_natural_name>: New
+ field.
+ * ada-lang.c (ada_language_defn): Initialize field
+ 'la_natural_name'.
+ * c-lang.c (c_language_defn): Likewise.
+ (cplus_language_defn, asm_language_defn): Likewise.
+ * d-lang.c (d_language_defn): Likewise.
+ * f-lang.c (f_language_defn): Likewise.
+ * go-lang.c (go_language_defn): Likewise.
+ * jv-lang.c (java_language_defn): Likewise.
+ * language.c (unknown_language_defn ): Likewise.
+ (auto_language_defn): Likewise.
+ * m2-lang.c (m2_language_defn): Likewise.
+ * objc-lang.c (objc_language_defn): Likewise.
+ * opencl-lang.c (opencl_language_defn): Likewise.
+ * p-lang.c (pascal_language_defn): Likewise.
+
2013-11-07 Yao Qi <yao@codesourcery.com>
* language.c (language_str): Return const char *.
const struct language_defn ada_language_defn = {
"ada", /* Language name */
+ "Ada",
language_ada,
range_check_off,
case_sensitive_on, /* Yes, Ada is case-insensitive, but
const struct language_defn c_language_defn =
{
"c", /* Language name */
+ "C",
language_c,
range_check_off,
case_sensitive_on,
const struct language_defn cplus_language_defn =
{
"c++", /* Language name */
+ "C++",
language_cplus,
range_check_off,
case_sensitive_on,
const struct language_defn asm_language_defn =
{
"asm", /* Language name */
+ "assembly",
language_asm,
range_check_off,
case_sensitive_on,
const struct language_defn minimal_language_defn =
{
"minimal", /* Language name */
+ "Minimal",
language_minimal,
range_check_off,
case_sensitive_on,
static const struct language_defn d_language_defn =
{
"d",
+ "D",
language_d,
range_check_off,
case_sensitive_on,
const struct language_defn f_language_defn =
{
"fortran",
+ "Fortran",
language_fortran,
range_check_on,
case_sensitive_off,
static const struct language_defn go_language_defn =
{
"go",
+ "Go",
language_go,
range_check_off,
case_sensitive_on,
const struct language_defn java_language_defn =
{
"java", /* Language name */
+ "Java",
language_java,
range_check_off,
case_sensitive_on,
const struct language_defn unknown_language_defn =
{
"unknown",
+ "Unknown",
language_unknown,
range_check_off,
case_sensitive_on,
const struct language_defn auto_language_defn =
{
"auto",
+ "Auto",
language_auto,
range_check_off,
case_sensitive_on,
const struct language_defn local_language_defn =
{
"local",
+ "Local",
language_auto,
range_check_off,
case_sensitive_on,
const char *la_name;
+ /* Natural or official name of the language. */
+
+ const char *la_natural_name;
+
/* its symtab language-enum (defs.h). */
enum language la_language;
const struct language_defn m2_language_defn =
{
"modula-2",
+ "Modula-2",
language_m2,
range_check_on,
case_sensitive_on,
const struct language_defn objc_language_defn = {
"objective-c", /* Language name */
+ "Objective-C",
language_objc,
range_check_off,
case_sensitive_on,
const struct language_defn opencl_language_defn =
{
"opencl", /* Language name */
+ "OpenCL C",
language_opencl,
range_check_off,
case_sensitive_on,
const struct language_defn pascal_language_defn =
{
"pascal", /* Language name */
+ "Pascal",
language_pascal,
range_check_on,
case_sensitive_on,