This repository has been archived by the owner on Jun 27, 2022. It is now read-only.
Add proper comment handling for files (Both replacement for Grammar files and File-Analysis commands) #10
Labels
bug
Something isn't working
This is an alternative solution to the bugs currently caused by the comment handling in the syntax analysis command. Another solution proposed here #9
Summary:
Implementation of a pre-scan of files to remove comments before processing to ease out handling in Antlr4 and make it easier for the Grammar files to properly handle such cases. This could also replace the current comment implementation in the grammar files, due to removing them before starting to process.
This scan or rather a function would go through a file and remove any multi-line or single line comments clearly visible through the reversed characters
//
and/*
including*/
The text was updated successfully, but these errors were encountered: