~ubuntu-branches/ubuntu/natty/bc/natty

« back to all changes in this revision

Viewing changes to bc/scan.c

  • Committer: Bazaar Package Importer
  • Author(s): John G. Hasler
  • Date: 2009-10-06 13:57:38 UTC
  • mto: (3.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20091006135738-81b5mvwsfxfa96bv
Tags: upstream-1.06.95
ImportĀ upstreamĀ versionĀ 1.06.95

Show diffs side-by-side

added added

removed removed

Lines of Context:
1413
1413
YY_RULE_SETUP
1414
1414
#line 318 "scan.l"
1415
1415
{
1416
 
              unsigned char *look;
 
1416
              const char *look;
1417
1417
              int count = 0;
1418
1418
              yylval.s_value = strcopyof(yytext);
1419
1419
              for (look = yytext; *look != 0; look++)
1430
1430
YY_RULE_SETUP
1431
1431
#line 330 "scan.l"
1432
1432
{
1433
 
              unsigned char *src, *dst;
 
1433
              char *src, *dst;
1434
1434
              int len;
1435
1435
              /* remove a trailing decimal point. */
1436
1436
              len = strlen(yytext);