parse.c (1f5207b7604fb44407eb4342aff613f7c4508508) | parse.c (44bf619d328827ce5eca6833fcd5c69f1592e578) |
---|---|
1/* 2 * Stupid C parser, version 1e-6. 3 * 4 * Let's see how hard this is to do. 5 * 6 * Copyright (C) 2003 Transmeta Corp. 7 * 2003-2004 Linus Torvalds 8 * Copyright (C) 2004 Christopher Li --- 2845 unchanged lines hidden (view full) --- 2854 struct symbol *s = lookup_keyword(token->ident, NS_KEYWORD); 2855 if (s && s->op->toplevel) 2856 return s->op->toplevel(token, list); 2857 } 2858 2859 /* Parse declaration-specifiers, if any */ 2860 token = declaration_specifiers(token, &ctx); 2861 mod = storage_modifiers(&ctx); | 1/* 2 * Stupid C parser, version 1e-6. 3 * 4 * Let's see how hard this is to do. 5 * 6 * Copyright (C) 2003 Transmeta Corp. 7 * 2003-2004 Linus Torvalds 8 * Copyright (C) 2004 Christopher Li --- 2845 unchanged lines hidden (view full) --- 2854 struct symbol *s = lookup_keyword(token->ident, NS_KEYWORD); 2855 if (s && s->op->toplevel) 2856 return s->op->toplevel(token, list); 2857 } 2858 2859 /* Parse declaration-specifiers, if any */ 2860 token = declaration_specifiers(token, &ctx); 2861 mod = storage_modifiers(&ctx); |
2862 mod |= ctx.ctype.modifiers & MOD_NORETURN; |
|
2862 decl = alloc_symbol(token->pos, SYM_NODE); 2863 /* Just a type declaration? */ 2864 if (match_op(token, ';')) { 2865 apply_modifiers(token->pos, &ctx); 2866 return token->next; 2867 } 2868 2869 saved = ctx.ctype; --- 117 unchanged lines hidden --- | 2863 decl = alloc_symbol(token->pos, SYM_NODE); 2864 /* Just a type declaration? */ 2865 if (match_op(token, ';')) { 2866 apply_modifiers(token->pos, &ctx); 2867 return token->next; 2868 } 2869 2870 saved = ctx.ctype; --- 117 unchanged lines hidden --- |