Closed (fixed)
Project:
Drupal core
Component:
other
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 May 2002 at 11:03 UTC
Updated:
11 Jan 2006 at 12:20 UTC
Jump to comment: Most recent file
the code-style.pl script can't handle code containing the increment ++ operator.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | code-style.patch | 669 bytes | killes@www.drop.org |
Comments
Comment #1
(not verified) commentedNeed a regular expression genius to fix this. I can't figure it out so any other takers?
Comment #2
barryorourke commentedI was running an older version of the script.
Comment #3
chx commentedWell, I am using the latest version ($Id: code-style.pl,v 1.8 2003/12/28 10:40:17 dries Exp $) and the -- operator is not handled. So I have reopened this bug report.
Comment #4
killes@www.drop.org commentedDunno if this causes elsewhere, but -- doesn't get reported anymore.
Comment #5
Bèr Kessels commentedit works for me. itested it with some bogus $me++ and it reports no errors then.
+1 for this one-liner
Comment #6
dries commentedCommitted to HEAD. Thanks.
Comment #7
(not verified) commented