You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Option 1: Add the option to AUTO detect new line format in user input file: CR, LF, CRLF, instead of manually specifying it in the lexical JSON config.
{
"newline": "AUTO",
"..."
}
Enhancement:
Add AUTO option in EasyCC-CPP/src/lexical/Lexical.cpp function Lexical::generateLexicalTokens()
Option2: Allow user to execute an action function while traversing the state machine. An action function can increment the line number when a \n character is consumed.
Option 1: Add the option to
AUTO
detect new line format in user input file:CR
,LF
,CRLF
, instead of manually specifying it in the lexical JSON config.Enhancement:
AUTO
option inEasyCC-CPP/src/lexical/Lexical.cpp
functionLexical::generateLexicalTokens()
Docs:
Edit:
The text was updated successfully, but these errors were encountered: