All of lore.kernel.org
 help / color / mirror / Atom feed
* coccinelle: semantic patches related to devm_ functions - Fatal error/Parse error
@ 2012-01-22  8:32 Thomas Meyer
  2012-01-22 11:20 ` Julia Lawall
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Meyer @ 2012-01-22  8:32 UTC (permalink / raw)
  To: Julia.Lawall, mmarek, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

Hello,

Again I wanted to run all coccinelle patches against the latest rc1, but
I got this error:
Fatal error: exception Failure("plus: parse error: 
 = File "/home/thomas/source/linux/scripts/coccinelle/api/devm_request_and_ioremap.cocci", line 32, column 42,  charpos = 816
    around = '\|', whole content = -                              \(res->name\|dev_name(dev)\))) {
"

I'm using version 1.0.0-0.rc4.2.fc16.

bug or feature?

kind regards
thomas


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: coccinelle: semantic patches related to devm_ functions - Fatal error/Parse error
  2012-01-22  8:32 coccinelle: semantic patches related to devm_ functions - Fatal error/Parse error Thomas Meyer
@ 2012-01-22 11:20 ` Julia Lawall
  0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2012-01-22 11:20 UTC (permalink / raw)
  To: Thomas Meyer; +Cc: mmarek, Linux Kernel Mailing List

On Sun, 22 Jan 2012, Thomas Meyer wrote:

> Hello,
>
> Again I wanted to run all coccinelle patches against the latest rc1, but
> I got this error:
> Fatal error: exception Failure("plus: parse error:
> = File "/home/thomas/source/linux/scripts/coccinelle/api/devm_request_and_ioremap.cocci", line 32, column 42,  charpos = 816
>    around = '\|', whole content = -                              \(res->name\|dev_name(dev)\))) {
> "
>
> I'm using version 1.0.0-0.rc4.2.fc16.

I think you need to get a newer version of coccinelle.  The bug is that it 
didn't like - on the ( or | or ) of a disjunction, but I fixed that.

julia

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-22 11:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-22  8:32 coccinelle: semantic patches related to devm_ functions - Fatal error/Parse error Thomas Meyer
2012-01-22 11:20 ` Julia Lawall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.