Improve the documentation of limitations
authorLukas Jiriste <ljiriste@student.42prague.com>
Fri, 21 Jun 2024 13:49:15 +0000 (15:49 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Fri, 21 Jun 2024 13:49:15 +0000 (15:49 +0200)
inc/ft_parse.h

index 609390e7248f18b090e3a87af609723b758c35c8..e52ef241f750f75f6dc83023cafaf5d0591962fa 100644 (file)
@@ -6,7 +6,7 @@
 /*   By: ljiriste <ljiriste@student.42prague.com>   +#+  +:+       +#+        */
 /*                                                +#+#+#+#+#+   +#+           */
 /*   Created: 2024/05/27 21:21:54 by ljiriste          #+#    #+#             */
-/*   Updated: 2024/06/21 15:39:41 by ljiriste         ###   ########.fr       */
+/*   Updated: 2024/06/21 15:48:59 by ljiriste         ###   ########.fr       */
 /*                                                                            */
 /* ************************************************************************** */
 
@@ -73,8 +73,8 @@ typedef struct s_parser_stack_element
 //     State token[i]               token[i+n]
 //     j     states[j].lookahead[i] states[0].goto[i]
 //
-//     The first row contains all the n terminal tokens first
-//     and after them all the non-terminal tokens.
+//     The first row contains all the n terminal tokens first followed by
+//     $ (the end token) and after them all the non-terminal tokens.
 //     Every other row contains the (unique) state number and the reduce/shift
 //     rule for the appropriate token.
 //