OpenCores
URL https://opencores.org/ocsvn/System09/System09/trunk

Subversion Repositories System09

[/] [System09/] [trunk/] [Tools/] [as09/] [symtab.c] - Diff between revs 74 and 83

Show entire file | Details | Blame | View Log

Rev 74 Rev 83
Line 5... Line 5...
char    *str;
char    *str;
int     val;
int     val;
{
{
        struct link *lp;
        struct link *lp;
 struct nlist *np,*p,*backp;
 struct nlist *np,*p,*backp;
 struct nlist *lookup();
 
 int     i;
 int     i;
 char *LastChar();      /* ver TER_2.0 */
 char *LastChar();      /* ver TER_2.0 */
 
 
 if( !alpha(*str) ){
 if( !alpha(*str) ){
  error("Illegal Symbol Name");
  error("Illegal Symbol Name");
Line 75... Line 74...
 
 
/*
/*
 *      lookup --- find string in symbol table
 *      lookup --- find string in symbol table
 */
 */
struct nlist *
struct nlist *
lookup(name)
lookup(char *name)
char    *name;
 
{
{
 struct nlist *np;
 struct nlist *np;
 int     i;
 int     i;
 char   *c;     /* ver TER_2.0 */
 char   *c;     /* ver TER_2.0 */
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.