You're fast :)

Adding a space before the filename makes it work:

 ERROR: profiler.jal:20: Found Capitals in token: 'Profiler_setup'

Joep

2009/11/1 Sebastien Lelong <[email protected]>

> Try attached version, let me know so I can commit it (or not).
>
> Seb
>
>
> 2009/11/1 Joep Suijs <[email protected]>
>
>> Hi Seb,
>>
>> The manual says:
>>
>> Double clicking on a line containing the filename and line number will
>> cause UltraEdit to attempt to open the file specified at the line number.
>> If the filename is fully qualified the filename will be located and the
>> number after this will be used for the line number.  If the filename is not
>> fully qualified UltraEdit will attempt to determine the filename from the
>> first word in the line that contains a period.  UltraEdit will then open the
>> specified file in the directory of the active file.  If the file does not
>> exist in the directory of the active file, UltraEdit will try and open the
>> file from the Project Directory if it is specified.
>> I'm not sure it recognises a fully qualified path in unix format (but
>> would not be surprised it does).
>> However, since I run the script on the active file, the filename as the
>> first word containing a period should do.
>>
>> Joep
>>
>> 2009/11/1 Sebastien Lelong <[email protected]>
>>
>>>  Hi Joep,
>>>
>>>
>>> Do you need full path, or just basename:
>>>
>>> File: include/jal/profiler.jal
>>> 1 errors found
>>>         ERROR:include/jal/profiler.jal:20: Found Capitals in token:
>>> 'Profiler_setup'
>>>
>>> or
>>>
>>> File: include/jal/profiler.jal
>>> 1 errors found
>>>         ERROR:profiler.jal:20: Found Capitals in token: 'Profiler_setup'
>>>
>>>
>>> Space between "ERROR:" and filename ?
>>>
>>>
>>> Cheers,
>>> Seb
>>>
>>> PS: error is a fake...
>>>
>>>
>>> 2009/11/1 Joep Suijs <[email protected]>
>>>
>>>  Hi Seb,
>>>>
>>>> The output of the compiler or validate script is put in an output window
>>>> by my editor. When I click on a line, formatted like:
>>>> jallib.jal:107: cannot open 'dsm0822a.jal'
>>>> it jumps to the file and line mentioned.
>>>> It's not important, but if it is a trivial change, it would be nice if
>>>> the jsg script gives a similar formatted output.
>>>>
>>>> Joep
>>>>
>>>> 2009/11/1 <[email protected]>
>>>>
>>>>>
>>>>> Revision: 1444
>>>>> Author: jsuijs
>>>>> Date: Sun Nov  1 01:22:54 2009
>>>>> Log: jsg fix
>>>>> http://code.google.com/p/jallib/source/detail?r=1444
>>>>>
>>>>> Modified:
>>>>>  /trunk/include/jal/profiler.jal
>>>>>
>>>>> =======================================
>>>>> --- /trunk/include/jal/profiler.jal     Sat Oct 31 15:34:12 2009
>>>>> +++ /trunk/include/jal/profiler.jal     Sun Nov  1 01:22:54 2009
>>>>> @@ -74,20 +74,20 @@
>>>>>
>>>>>  end procedure
>>>>>
>>>>> -procedure profiler_start is
>>>>> +procedure profiler_start() is
>>>>>     pragma inline
>>>>> -
>>>>> +aa
>>>>>     TMR1 = 0
>>>>>     T1CON_TMR1ON = true
>>>>>  end procedure
>>>>>
>>>>> -procedure profiler_stop is
>>>>> +procedure profiler_stop() is
>>>>>     pragma inline
>>>>>
>>>>>     T1CON_TMR1ON = false
>>>>>  end procedure
>>>>>
>>>>> -procedure profiler_stop_and_report (volatile byte in out device) is
>>>>> +procedure profiler_stop_and_report(volatile byte in out device) is
>>>>>     pragma inline
>>>>>
>>>>>     profiler_stop
>>>>>
>>>>>
>>>
>>>
>>> --
>>> Sébastien Lelong
>>> http://www.sirloon.net
>>> http://sirbot.org
>>>
>>>
>>>
>
>
> --
> Sébastien Lelong
> http://www.sirloon.net
> http://sirbot.org
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to