lex.l (16073) | lex.l (45219) |
---|---|
1%{ 2/*- 3 * Copyright (c) 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Paul Borman at Krystal Technologies. 8 * --- 39 unchanged lines hidden (view full) --- 48%} 49 50ODIGIT [0-7] 51DIGIT [0-9] 52XDIGIT [0-9a-fA-F] 53W [\t\n\r ] 54 55%% | 1%{ 2/*- 3 * Copyright (c) 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Paul Borman at Krystal Technologies. 8 * --- 39 unchanged lines hidden (view full) --- 48%} 49 50ODIGIT [0-7] 51DIGIT [0-9] 52XDIGIT [0-9a-fA-F] 53W [\t\n\r ] 54 55%% |
56\'.\' { yylval.rune = yytext[1]; | 56\'.\' { yylval.rune = (unsigned char)yytext[1]; |
57 return(RUNE); } 58 59'\\a' { yylval.rune = '\a'; 60 return(RUNE); } 61'\\b' { yylval.rune = '\b'; 62 return(RUNE); } 63'\\f' { yylval.rune = '\f'; 64 return(RUNE); } --- 88 unchanged lines hidden --- | 57 return(RUNE); } 58 59'\\a' { yylval.rune = '\a'; 60 return(RUNE); } 61'\\b' { yylval.rune = '\b'; 62 return(RUNE); } 63'\\f' { yylval.rune = '\f'; 64 return(RUNE); } --- 88 unchanged lines hidden --- |