]> git.ipfire.org Git - thirdparty/automake.git/commit
Updated parser to tokenize and parse line by line.
authorVishal Gupta <vishalgupta7972@gmail.com>
Fri, 6 Jul 2018 10:29:54 +0000 (15:59 +0530)
committerVishal Gupta <vishalgupta7972@gmail.com>
Fri, 6 Jul 2018 10:29:54 +0000 (15:59 +0530)
commitaf9641edc78265d69a488869a59bc2c38c00d792
tree4e7a110b6ad1c9e7c779c576db78d8e5df193a60
parenta7ac93842cf5633d23263271856b7eadb6d0e3fa
Updated parser to tokenize and parse line by line.

Lexer tokenizes the current line whenever it is called by parser.
"end" token is returned when EOF is encountered.
Currently assumes that newline is their before EOF.
lib/Automake/Parser/Lexer.pm
lib/Automake/Parser/ParserTable.pm
lib/Automake/Parser/input.txt
lib/Automake/Parser/parser.pl
lib/Automake/Parser/t/conditional.txt
lib/Automake/Parser/t/nestedcond.txt