diff options
author | Neil Booth <neilb@earthling.net> | 2000-12-04 22:05:19 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2000-12-04 22:05:19 +0000 |
commit | 7682e7bc2eb0a7a2a839fabd7c9fa103c117b876 (patch) | |
tree | bc7b3cf21ebfc2cd79f75c6f070954666bce9eef /gcc/tradcpp.h | |
parent | 23a535c4fff08a3224a41a118f1114d53256431b (diff) | |
download | gcc-7682e7bc2eb0a7a2a839fabd7c9fa103c117b876.zip gcc-7682e7bc2eb0a7a2a839fabd7c9fa103c117b876.tar.gz gcc-7682e7bc2eb0a7a2a839fabd7c9fa103c117b876.tar.bz2 |
tradcif.y: Move lexptr to top of file.
* tradcif.y: Move lexptr to top of file. Add rule to handle
assertions in conditional expressions.
* tradcpp.c (parse_answer): Assertions do not need to go to
end of line in conditional directives.
(parse_assertion): Get first character of identifiers correct.
(test_assertion): New function.
* tradcpp.h (test_assertion): New prototype.
From-SVN: r38011
Diffstat (limited to 'gcc/tradcpp.h')
-rw-r--r-- | gcc/tradcpp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tradcpp.h b/gcc/tradcpp.h index 023e642..b646939 100644 --- a/gcc/tradcpp.h +++ b/gcc/tradcpp.h @@ -34,6 +34,7 @@ extern void fancy_abort PARAMS ((int, const char *)) ATTRIBUTE_NORETURN; extern struct hashnode *lookup PARAMS ((const unsigned char *, int, int)); extern int parse_c_expression PARAMS ((const char *)); /* in tradcif.y */ +extern int test_assertion PARAMS ((unsigned char **)); /* some external tables of character types */ extern unsigned char is_idstart[], is_idchar[]; |