diff options
author | jbj <devnull@localhost> | 1999-07-19 18:39:48 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-07-19 18:39:48 +0000 |
commit | c4e615007f983bb065f86a58b15ba792eeba51d3 (patch) | |
tree | 3305dd5f85429e5c3a660283197026f8ce7557ec /build/rpmspec.h | |
parent | 673bd51d8bd8e3d2f24bdb4906af37975a8628a5 (diff) | |
download | rpm-c4e615007f983bb065f86a58b15ba792eeba51d3.tar.gz rpm-c4e615007f983bb065f86a58b15ba792eeba51d3.tar.bz2 rpm-c4e615007f983bb065f86a58b15ba792eeba51d3.zip |
permit multiline macro expansions.
CVS patchset: 3180
CVS date: 1999/07/19 18:39:48
Diffstat (limited to 'build/rpmspec.h')
-rw-r--r-- | build/rpmspec.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/build/rpmspec.h b/build/rpmspec.h index fb7e4a811..208c3a897 100644 --- a/build/rpmspec.h +++ b/build/rpmspec.h @@ -37,19 +37,19 @@ struct Source { /*@owned@*/ struct Source *next; }; -struct ReadLevelEntry { +typedef struct ReadLevelEntry { int reading; /*@dependent@*/ struct ReadLevelEntry *next; -}; +} RLE_t; -struct OpenFileInfo { +typedef struct OpenFileInfo { /*@only@*/ char *fileName; /*@dependent@*/ FILE *file; int lineNum; char readBuf[BUFSIZ]; /*@dependent@*/ char *readPtr; /*@owned@*/ struct OpenFileInfo *next; -}; +} OFI_t; struct spectag { int t_tag; @@ -80,7 +80,9 @@ struct SpecStruct { struct spectags *st; /*@owned@*/ struct OpenFileInfo *fileStack; - char line[BUFSIZ]; + char lbuf[BUFSIZ]; + char *line; + char *nextline; int lineNum; /*@only@*/ struct ReadLevelEntry *readStack; |