Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Side by Side Diff: third_party/yasm/patched-yasm/modules/preprocs/cpp/cpp-preproc.c

Issue 6170009: Update our yasm copy to yasm 1.1.0 (Part 1: yasm side)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Invoke an external C preprocessor 2 * Invoke an external C preprocessor
3 * 3 *
4 * Copyright (C) 2007 Paul Barker 4 * Copyright (C) 2007 Paul Barker
5 * Copyright (C) 2001-2007 Peter Johnson 5 * Copyright (C) 2001-2007 Peter Johnson
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 cpp_preproc_destroy()). 52 cpp_preproc_destroy()).
53 */ 53 */
54 const char *op; 54 const char *op;
55 char *param; 55 char *param;
56 } cpp_arg_entry; 56 } cpp_arg_entry;
57 57
58 typedef struct yasm_preproc_cpp { 58 typedef struct yasm_preproc_cpp {
59 yasm_preproc_base preproc; /* base structure */ 59 yasm_preproc_base preproc; /* base structure */
60 60
61 /* List of arguments to pass to cpp. */ 61 /* List of arguments to pass to cpp. */
62 TAILQ_HEAD(, cpp_arg_entry) cpp_args; 62 TAILQ_HEAD(cpp_arg_head, cpp_arg_entry) cpp_args;
63 63
64 char *filename; 64 char *filename;
65 FILE *f, *f_deps; 65 FILE *f, *f_deps;
66 yasm_linemap *cur_lm; 66 yasm_linemap *cur_lm;
67 yasm_errwarns *errwarns; 67 yasm_errwarns *errwarns;
68 68
69 int flags; 69 int flags;
70 } yasm_preproc_cpp; 70 } yasm_preproc_cpp;
71 71
72 /* Flag values for yasm_preproc_cpp->flags. */ 72 /* Flag values for yasm_preproc_cpp->flags. */
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 cpp_preproc_create, 393 cpp_preproc_create,
394 cpp_preproc_destroy, 394 cpp_preproc_destroy,
395 cpp_preproc_get_line, 395 cpp_preproc_get_line,
396 cpp_preproc_get_included_file, 396 cpp_preproc_get_included_file,
397 cpp_preproc_add_include_file, 397 cpp_preproc_add_include_file,
398 cpp_preproc_predefine_macro, 398 cpp_preproc_predefine_macro,
399 cpp_preproc_undefine_macro, 399 cpp_preproc_undefine_macro,
400 cpp_preproc_define_builtin, 400 cpp_preproc_define_builtin,
401 cpp_preproc_add_standard 401 cpp_preproc_add_standard
402 }; 402 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698