mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00

Command used: # Remove space at eol in comments find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} + # Remove space at eol in blank lines find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} + # Replace escaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} + # Replace unescaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} + # Replace escaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} + # Replace unescaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} + # Stage all changes git add -A . # trim any remaining whitespace and then identify and fixup # manually # Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/MessagesForDebugVM.properties # needed this due to missing newline at end of the file find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} + Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
58 lines
3.8 KiB
Properties
Executable file
58 lines
3.8 KiB
Properties
Executable file
###############################################################################
|
|
# Copyright (c) 2006, 2010 IBM Corporation and others.
|
|
#
|
|
# This program and the accompanying materials
|
|
# are made available under the terms of the Eclipse Public License 2.0
|
|
# which accompanies this distribution, and is available at
|
|
# https://www.eclipse.org/legal/epl-2.0/
|
|
#
|
|
# SPDX-License-Identifier: EPL-2.0
|
|
#
|
|
# Contributors:
|
|
# IBM Corporation - initial API and implementation
|
|
###############################################################################
|
|
# plugin.properties
|
|
# contains externalized strings for plugin.xml
|
|
# "%foo" in feature.xml corresponds to the key "foo" in this file
|
|
# java.io.Properties file (ISO 8859-1 with "\" escapes)
|
|
# This file should be translated.
|
|
pluginName=xlC Error Parser Test Plugin
|
|
providerName=Eclipse CDT
|
|
|
|
CDTXLCErrorParser.name=xlC Error Parser
|
|
|
|
# Translators: do not translate patterns below. We currently do not support NL versions of the XL C/C++ compilers.
|
|
# Following are patterns of xlC compiler messages. While translating the patterns should be replaced
|
|
# with corresponding patterns matching localized compiler messages
|
|
|
|
# START NON-TRANSLATABLE
|
|
# "hello.c", line 5.9: 1506-358 (I) "MACRO" is defined on line 3 of hello.h.
|
|
CDTXLCErrorParser.pattern.macro="?([^"]*)"?, line ([0-9]+)\\.[0-9]+:( [0-9]*-[0-9]*)? \\(I\\)\\s*(.*) is defined on line ([0-9]+) of "?([^"]*)"?\\.
|
|
CDTXLCErrorParser.pattern.macro.replacement=$4 has been redefined on line $2 of $1
|
|
CDTXLCErrorParser.pattern.macro.crossreference=$4 redefines original definition on line $5 of $6
|
|
CDTXLCErrorParser.pattern.macro.ignore="?([^"]*)"?, line ([0-9]+)\\.[0-9]+:( [0-9]*-[0-9]*)? \\(W\\)\\s*Macro name .* has been redefined\\.
|
|
# "src/temp1.c", line 6.6: 1506-343 (S) Redeclaration of fun differs from previous declaration on line 334 of "include/temp1.h".
|
|
CDTXLCErrorParser.pattern.redeclaration="?([^"]*)"?, line ([0-9]+)\\.[0-9]+:( [0-9]*-[0-9]*)? \\(S\\)\\s*Redeclaration of (\\w+) differs from previous declaration on line (\\d+) of "?([^"]*)"?\\.
|
|
CDTXLCErrorParser.pattern.redeclaration.crossreference=Redeclaration of $4 differs from another declaration on line $2 of "$1".
|
|
# "main.cpp", line 10.6: 1540-0064 (S) Syntax error: "name" was expected but "char" was found.
|
|
CDTXLCErrorParser.pattern.error="?([^"]*)"?, line ([0-9]+)\\.[0-9]+:( [0-9]*-[0-9]*)? \\([USE]\\)\\s*(.*)
|
|
CDTXLCErrorParser.pattern.warning="?([^"]*)"?, line ([0-9]+)\\.[0-9]+:( [0-9]*-[0-9]*)? \\(W\\)\\s*(.*)
|
|
CDTXLCErrorParser.pattern.info="?([^"]*)"?, line ([0-9]+)\\.[0-9]+:( [0-9]*-[0-9]*)? \\(I\\)\\s*(.*)
|
|
# 1586-346 (U) An error occurred during code generation. The code generation return code was 1.
|
|
CDTXLCErrorParser.pattern.error2=\\s*([0-9]*-[0-9]*:?)? \\([USE]\\)\\s*(.*)
|
|
# /usr/vacpp/bin/xlc: 1501-216 command option 9 is not recognized - passed to ld
|
|
CDTXLCErrorParser.pattern.warning2=/[/\\w]+: [0-9]+-[0-9]+\\s*(.*)
|
|
# 1500-030: (I) INFORMATION: clazz::fun(): Additional optimization may be attained by recompiling and specifying MAXMEM option with a value greater than 8192.
|
|
# 1540-5336 (I) Global variable "__td __td__Q2_3std13runtime_error" is not used.
|
|
CDTXLCErrorParser.pattern.info2=\\s*([0-9]*-[0-9]*:?)? \\(I\\)( INFORMATION:)?\\s*(.*)
|
|
# ld: 0711-224 WARNING: Duplicate symbol: symboldupe
|
|
# WARNING, ERROR, SEVERE ERROR etc.
|
|
CDTXLCErrorParser.pattern.ld.error=ld: ([0-9]+-[0-9]+).*ERROR:\\s*(.*)
|
|
CDTXLCErrorParser.pattern.ld.warning=ld: ([0-9]+-[0-9]+)\\s*WARNING:\\s*(.*)
|
|
# ld: 0706-012 The -9 flag is not recognized.
|
|
CDTXLCErrorParser.pattern.ld.warning2=ld: 0706-012\\s*(.*)
|
|
# ld: 0711-987 Error occurred while reading file
|
|
CDTXLCErrorParser.pattern.ld.error2=ld: ([0-9]+-[0-9]+)\\s*(Error .*)
|
|
# ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
|
|
CDTXLCErrorParser.pattern.ld.info=ld: ([0-9]+-[0-9]+)\\s*(.*)
|
|
# END NON-TRANSLATABLE
|