473,468 Members | 1,365 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

More information from the -l (lint) option

Has anyone already solved the not-enough-information problem when
using the -l (lint) switch to check syntax?

I make heavy use of include(), so when php complains about some syntax
problem, the line number it reports is never even close to correct.
And since even the lint switch doesn't cause the alleged offending
line to be written out, there's no good way to start backtracking.

Is there some switch I'm missing, or is there a version of php.exe
already hacked to display the problematic line? If there's not, then
I'll do the hack, but I would *much* prefer not to have to.

Thanks,
Margaret
--
(To mail me, please change .not.invalid to .net, first.
Apologies for the inconvenience.)
Jul 16 '05 #1
0 3421

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

33
by: Greg Roberts | last post by:
We have a large code base, mainly C but with some C++ which we wish to check for existing issues in an effort to be proactive. I have downloaded the open source GLINT program but am having big...
4
by: myName | last post by:
Hi All, Getting warning in lint for this code. Any thought on this? Regards Ajay StcStackInterface::StcStackInterface() : genAlarm( false ), trace( false ),
2
by: Rahul | last post by:
Hi, I have a little program as follows : =================== STARTS HERE ================ #include <stdio.h> void f (unsigned long); int main() {
4
by: Roman Mashak | last post by:
Hello, All! I often come across the following statements in different source code: #ifndef lint char copyright = "@(#) Copyright (C) 2005 bla-bla-bla\n"; #endif #ifndef lint
2
by: barcaroller | last post by:
Not sure whether this is the right newsgroup but... is there any way I can tell lint (or one of its derivates) to pick up DEFINE statements/macros and header file INCLUDE paths from Makefiles so...
14
by: juanpolotto | last post by:
Hi. I'm write a "passthru" application which is reading from one socket and writing to a pool of outcoming sockets. From time to time I have date duplicated in the socket and when I debug the...
3
by: copx | last post by:
I saw one here posting the output of a lint tool in a thread, and that made me wonder whether using such tools are still useful. I mean, modern compilers are lint tools themselves, the list of...
15
by: Pat | last post by:
I've been searching for a good multi-module lint checker for Python and I haven't found one yet. Pylint does a decent job at checking for errors only within a single module. Here's one of my...
0
by: ashokd001 | last post by:
i , I Want to apply AIX lint to my source code which all are *.cpp/*.h >lint test.cpp lint: 1286-332 File test.cpp must have a .c, .C or .ln extension. It is ignored. lint: 1286-334 There...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.