On Fri, Aug 18, 2000 at 01:29:52PM -0500, Ray Butte <Ray Butte wrote:
> 
> Has anyone seen problems with jtags as packaged in jde-2.2.2 ?
> 
> When I run jtags (after setting etags_dir of course) the script
> runs very quickly and ends with a 0-byte TAGS file.
> 
> When I run jtags.csh, I get:
> set: Veriable name too long
> 


> set primitive_type_no_void = 
>\<\(b\(oolean\|yte\)\|char\|double\|float\|int\|long\|short\)\>
> set: Variable name too long
> 
> This is on Sun SPARC 5.6.
> 
> I  tried shortening variable names, but still get empty TAGS files.
> Am I missing something obvious?
> 
> thanks in advance,
> 
> -Ray
> 

You are on the right track you just need to change all the place that
use *_no_void or *_no_void_count here is the diff I have.  The diff look
long but there are only 4 lines that actually have to change.

Brad


***************
*** 97,105 ****
  set primitive_type_count = 2
  
  set primitive_type3 = '\|long\|short\)\>'
! #changing no_void to nv
! set primitive_type_nv = "$primitive_type1$primitive_type3"
! set primitive_type_nvc = 2
  
  set identifier = "\<\([$letter][$letter$digit]*\)\>"
  set identifier_count = 1
--- 97,104 ----
  set primitive_type_count = 2
  
  set primitive_type3 = '\|long\|short\)\>'
! set primitive_type_no_void = "$primitive_type1$primitive_type3"
! set primitive_type_no_void_count = 2
  
  set identifier = "\<\([$letter][$letter$digit]*\)\>"
  set identifier_count = 1
***************
*** 133,139 ****
  set method2 = "/^[^.*]*$class_type$ws*\(\[$ws*\]$ws*\)*$identifier$ws*(/\3/"
  
  # Pattern for matching primitive variable declarations.
! set var1a = ".*$primitive_type_nv$ws*\(\[$ws*\]$ws*\)*$identifier"
  set var1b = "$ws*\(=\|;\)"
  set var1 = "/$var1a$var1b/\4/"
  
--- 132,138 ----
  set method2 = "/^[^.*]*$class_type$ws*\(\[$ws*\]$ws*\)*$identifier$ws*(/\3/"
  
  # Pattern for matching primitive variable declarations.
! set var1a = ".*$primitive_type_no_void$ws*\(\[$ws*\]$ws*\)*$identifier"
  set var1b = "$ws*\(=\|;\)"
  set var1 = "/$var1a$var1b/\4/"
  

 
-- 
--- There are two kinds of knowledge, you either know the answer or
                        you know where to find it
                      -Kane, Johnson, and anonymous

Reply via email to