/[bison]/bison/src/scan-gram.l
ViewVC logotype

Diff of /bison/src/scan-gram.l

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.45 by eggert, Fri Nov 29 08:44:40 2002 UTC revision 1.46 by eggert, Fri Nov 29 09:03:16 2002 UTC
# Line 435  splice  (\\[ \f\t\v]*\n)* Line 435  splice  (\\[ \f\t\v]*\n)*
435        obstack_1grow (&string_obstack, c);        obstack_1grow (&string_obstack, c);
436    }    }
437    
438    \\x[0-9a-fA-F]+ {    \\x[0-9abcdefABCDEF]+ {
439      unsigned long c;      unsigned long c;
440      errno = 0;      errno = 0;
441      c = strtoul (yytext + 2, 0, 16);      c = strtoul (yytext + 2, 0, 16);
# Line 460  splice  (\\[ \f\t\v]*\n)* Line 460  splice  (\\[ \f\t\v]*\n)*
460    /* \\[\"\'?\\] would be shorter, but it confuses xgettext.  */    /* \\[\"\'?\\] would be shorter, but it confuses xgettext.  */
461    \\("\""|"'"|"?"|"\\")  obstack_1grow (&string_obstack, yytext[1]);    \\("\""|"'"|"?"|"\\")  obstack_1grow (&string_obstack, yytext[1]);
462    
463    \\(u|U[0-9a-fA-F]{4})[0-9a-fA-F]{4} {    \\(u|U[0-9abcdefABCDEF]{4})[0-9abcdefABCDEF]{4} {
464      int c = convert_ucn_to_byte (yytext);      int c = convert_ucn_to_byte (yytext);
465      if (c < 0)      if (c < 0)
466        {        {

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26