diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2020-12-04 11:31:27 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2020-12-04 11:31:27 -0500 |
commit | f5960fabbac43191b424c56a7cbb8befbff5dd42 (patch) | |
tree | c7ab3a55fbce6b7fce4ea05acc000b15e89dcfe6 /tests | |
parent | 33bd31b74b23f5ba01046b3a492adb29acf75fc2 (diff) | |
download | flex-git-f5960fabbac43191b424c56a7cbb8befbff5dd42.tar.gz |
Go back end: More Goification of names.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testmaker.m4 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/testmaker.m4 b/tests/testmaker.m4 index 08817ad..bddbd44 100644 --- a/tests/testmaker.m4 +++ b/tests/testmaker.m4 @@ -22,6 +22,10 @@ dnl dnl M4_TEST_FAILMESSAGE = a line of code required to issue dnl a dnl failure notification to standard error and exit with a failure status. dnl +dnl M4_TEST_INCREMENT = increment the argument variable. +dnl +dnl M4_TEST_DECREMENT = decrement the argument variable. +dnl dnl M4_TEST_POSTAMBLE = the test main. dnl dnl M4_TEST_TABLE_SERIALIZATION = define this to exercise table @@ -151,7 +155,7 @@ int main (int argc, char **argv) yyset_out ( stdout,lexer); yyset_in ( stdin, lexer); M4_TEST_INITHOOK - while( yylex(lexer) != YY_NULL ) + while( yylex(lexer) != flexEOF ) { } yylex_destroy( lexer ); @@ -187,7 +191,7 @@ func main(void) { lexer.yysetOut(os.Stdout) lexer.yysetIn(os.Stdin) M4_TEST_INITHOOK - for lexer.yylex() != YY_NULL { + for lexer.yylex() != flexEOF { } fmt.Printf("TEST RETURNING OK.\n") os.Exit(0) |