Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 195 by [email protected]: errorformat: match error numbers that contain letters
http://code.google.com/p/vim/issues/detail?id=195

What steps will reproduce the problem?
For example, the Renesas HEW compiler produces error in the following style:

main.c(11) : C2225 (E) Undeclared name "FOOBAR"

What is the expected output? What do you see instead?

The error numbers (C2225 in the example) include a letter at the beginning.

The format specifier %n of 'efm' matches only a number.

Therefore it is not possible to match the complete error number C2225. Only the numerical part can be matched with the following format string: "C%n".

I suppose there will always be a compiler whose output is just a bit outside of the scope of Vim's errorformat.

I think one step to make the errorformat more versatile is by separating the meaning of a format specifier from the expression. In the example, the format specifier %n has the meaning "error number", but also the format of a legal error number ([0-9]+).

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui