~ubuntu-branches/ubuntu/saucy/ladr/saucy

« back to all changes in this revision

Viewing changes to ladr/symbols.c

  • Committer: Package Import Robot
  • Author(s): Frank Lichtenheld
  • Date: 2013-05-25 11:43:32 UTC
  • mfrom: (5.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20130525114332-lkzco1dti2hwrf7v
Tags: 0.0.200911a-2
* QA upload.
* Upload to unstable.
* Change maintainer to QA group.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1362
1362
BOOL variable_name(char *s)
1363
1363
{
1364
1364
  if (variable_style() == PROLOG_STYLE)
1365
 
    return ((*s >= 'A' && *s <= 'Z') || *s == '_');
 
1365
    return (*s >= 'A' && *s <= 'Z');
1366
1366
  else if (variable_style() == INTEGER_STYLE)
1367
1367
    return (*s >= '0' && *s <= '9');
1368
1368
  else
1441
1441
 
1442
1442
/* DOCUMENTATION
1443
1443
Given a Plist of symbols (symnums), remove the ones that
1444
 
are correspond to variables.
 
1444
correspond to variables.
1445
1445
*/
1446
1446
 
1447
1447
/* PUBLIC */