/[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.49 by eggert, Wed Dec 11 06:48:18 2002 UTC revision 1.50 by eggert, Fri Dec 13 08:35:16 2002 UTC
# Line 1  Line 1 
1  /* Bison Grammar Scanner                             -*- C -*-  /* Bison Grammar Scanner                             -*- C -*-
2    
3     Copyright (C) 2002 Free Software Foundation, Inc.     Copyright (C) 2002 Free Software Foundation, Inc.
4    
5     This file is part of Bison, the GNU Compiler Compiler.     This file is part of Bison, the GNU Compiler Compiler.
# Line 368  splice  (\\[ \f\t\v]*\n)* Line 369  splice  (\\[ \f\t\v]*\n)*
369  <SC_ESCAPED_CHARACTER>  <SC_ESCAPED_CHARACTER>
370  {  {
371    "'" {    "'" {
372        unsigned char last_string_1;
373      STRING_GROW;      STRING_GROW;
374      STRING_FINISH;      STRING_FINISH;
375      loc->start = token_start;      loc->start = token_start;
376      val->symbol = symbol_get (last_string, *loc);      val->symbol = symbol_get (last_string, *loc);
377      symbol_class_set (val->symbol, token_sym, *loc);      symbol_class_set (val->symbol, token_sym, *loc);
378      symbol_user_token_number_set (val->symbol,      last_string_1 = last_string[1];
379                                    (unsigned char) last_string[1], *loc);      symbol_user_token_number_set (val->symbol, last_string_1, *loc);
380      STRING_FREE;      STRING_FREE;
381      rule_length++;      rule_length++;
382      BEGIN INITIAL;      BEGIN INITIAL;

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

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