]> git.ipfire.org Git - thirdparty/automake.git/commit
Added support for Conditional statement and Test files.
authorVishal Gupta <vishalgupta7972@gmail.com>
Sat, 16 Jun 2018 06:39:17 +0000 (12:09 +0530)
committerVishal Gupta <vishalgupta7972@gmail.com>
Sat, 16 Jun 2018 06:39:17 +0000 (12:09 +0530)
commitc538dc193d39be7df03615d4d4792ec4c1aedf97
treef4bf1fc5f6ca8414315d1d31d18b8e06aac4bd1d
parentacb396f294d1ef3b7c0a399d01b1388cd32be68d
Added support for Conditional statement and Test files.

* automake.y : Updated to handle conditional statement and empty variable
* defination
* parser.pl : Updated to read from standard input and write to standard
* output. In debug mode, output on standard error stream.
* Converter.pl : Updated to handle empty grammar definitions.
* Tree.pm : Updated to handle conditional statements and write output to
* standard output
* Makefile : Added action test.
* test.sh : Read all text files in t directory and generates corresponding
* standard output
* Makefile : Added action test.
* t/*.txt : test files.
16 files changed:
lib/Automake/Parser/.gitignore
lib/Automake/Parser/Converter.pl
lib/Automake/Parser/Lexer.pm
lib/Automake/Parser/Makefile
lib/Automake/Parser/ParserTable.pm
lib/Automake/Parser/Tree.pm
lib/Automake/Parser/automake.y
lib/Automake/Parser/input.txt
lib/Automake/Parser/parser.pl
lib/Automake/Parser/t/.gitignore [new file with mode: 0644]
lib/Automake/Parser/t/automakecomment.txt [new file with mode: 0644]
lib/Automake/Parser/t/conditional.txt [new file with mode: 0644]
lib/Automake/Parser/t/multiline.txt [new file with mode: 0644]
lib/Automake/Parser/t/multilinecoment.txt [new file with mode: 0644]
lib/Automake/Parser/t/primaries.txt [new file with mode: 0644]
lib/Automake/Parser/test.sh [new file with mode: 0644]