Date: Fri, 7 Jul 2006 14:49:26 GMT From: Spencer Whitman <swhitman@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 100887 for review Message-ID: <200607071449.k67EnQpY025923@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100887 Change 100887 by swhitman@swhitman_joethecat on 2006/07/07 14:49:14 Commenting Affected files ... .. //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/cpp.c#8 edit .. //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/file.c#6 edit .. //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/k.c#9 edit Differences ... ==== //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/cpp.c#8 (text+ko) ==== @@ -44,7 +44,12 @@ struct ref *r; }; +struct define { + TAILQ_ENTRY(defines) list; +}; + static TAILQ_HEAD(,iarg) iarg = TAILQ_HEAD_INITIALIZER(iarg); +static TAILQ_HEAD(,defines) defines = TAILQ_HEAD_INITIALIZER(defines); static void cppfile(struct h *h, struct ref *r); static void cpp_expand(struct cppfilestate *cfs, struct ref *r, @@ -148,7 +153,8 @@ /* -------------------------------------------------------------------*/ static void -cpp_expand(struct cppfilestate *cfs, struct ref *rr __unused, const char *s, const char *e) +cpp_expand(struct cppfilestate *cfs, struct ref *rr __unused, const char *s, + const char *e) { assert(s != NULL); @@ -249,6 +255,7 @@ cpp_func *func; } cpp_kw[] = { { "define", 0, cpp_define }, + { "ifdef", 0, NULL }, { "error", 0, cpp_error }, { "include", 0, cpp_include }, { "pragma", 0, cpp_pragma }, ==== //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/file.c#6 (text+ko) ==== ==== //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/k.c#9 (text+ko) ==== @@ -191,7 +191,7 @@ PopSymScope(hf); } } - + return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607071449.k67EnQpY025923>