Cloned SEACAS for EXODUS library with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
1.1 KiB

C Copyright(C) 1999-2020 National Technology & Engineering Solutions
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
C NTESS, the U.S. Government retains certain rights in this software.
C
C See packages/seacas/LICENSE for details
C=======================================================================
LOGICAL FUNCTION LXSYMB(SYM,NS,CH)
IMPLICIT INTEGER (A-Z)
CHARACTER*504 ILINE
COMMON /LXCOM1/ILINE
COMMON /LXCOM2/JLINE,LXINIT
CHARACTER*(*) SYM,CH
CHARACTER*26 ALPHA,BETA
DATA ALPHA/'ABCDEFGHIJKLMNOPQRSTUVWXYZ'/
DATA BETA/'abcdefghijklmnopqrstuvwxyz'/
SYM = ' '
LS = LEN(SYM)
CH = ILINE(JLINE:JLINE)
IF (INDEX(ALPHA//BETA,CH).EQ.0) THEN
LXSYMB = .FALSE.
RETURN
END IF
LXSYMB = .TRUE.
J0 = JLINE
2540 IF (.NOT. (INDEX(ALPHA//BETA//'0123456789_$',CH).NE.0)) GO TO 2550
JLINE = JLINE + 1
CH = ILINE(JLINE:JLINE)
GO TO 2540
2550 CONTINUE
SYM = ILINE(J0:JLINE-1)
NS = MIN(LS,JLINE-J0)
RETURN
END