Commit 34a2d6f3 by Richard Stallman

*** empty log message ***

From-SVN: r1260
parent 051e5bbf
...@@ -752,10 +752,10 @@ struct assertion_hashnode { ...@@ -752,10 +752,10 @@ struct assertion_hashnode {
typedef struct assertion_hashnode ASSERTION_HASHNODE; typedef struct assertion_hashnode ASSERTION_HASHNODE;
/* Some definitions for the hash table. The hash function MUST be /* Some definitions for the hash table. The hash function MUST be
computed as shown in hashf () below. That is because the rescan computed as shown in hashf below. That is because the rescan
loop computes the hash value `on the fly' for most tokens, loop computes the hash value `on the fly' for most tokens,
in order to avoid the overhead of a lot of procedure calls to in order to avoid the overhead of a lot of procedure calls to
the hashf () function. Hashf () only exists for the sake of the hashf function. hashf only exists for the sake of
politeness, for use when speed isn't so important. */ politeness, for use when speed isn't so important. */
#define ASSERTION_HASHSIZE 37 #define ASSERTION_HASHSIZE 37
...@@ -2223,6 +2223,7 @@ do { ip = &instack[indepth]; \ ...@@ -2223,6 +2223,7 @@ do { ip = &instack[indepth]; \
obp = op->bufp; obp = op->bufp;
RECACHE; RECACHE;
beg_of_line = ibp; beg_of_line = ibp;
/* Our caller must always put a null after the end of /* Our caller must always put a null after the end of
...@@ -2270,13 +2271,14 @@ do { ip = &instack[indepth]; \ ...@@ -2270,13 +2271,14 @@ do { ip = &instack[indepth]; \
} }
} }
/* If this is expanding a macro definition, don't recognize /* Recognize preprocessor directives only when reading
preprocessor directives. */ directly from a file. */
if (ip->macro != 0) if (ip->fname == 0)
goto randomchar; goto randomchar;
if (ident_length) if (ident_length)
goto specialchar; goto specialchar;
/* # keyword: a # must be first nonblank char on the line */ /* # keyword: a # must be first nonblank char on the line */
if (beg_of_line == 0) if (beg_of_line == 0)
goto randomchar; goto randomchar;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment