Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SLiCAP/SLiCAP_python
/ t_error
Function
t_error
SLiCAP/SLiCAPlex.py:211–214 ·
view source on GitHub ↗
(t)
Source
from the content-addressed store, hash-verified
209
210
# Error handling rule
211
def
t_error(t):
212
t.lexer.errCount += 1
213
_printError(
"Error: illegal character."
, t)
214
t.lexer.skip(1)
215
216
def
_replaceScaleFactors(txt):
217
""
"
Callers
nothing calls this directly
Calls
1
_printError
Function · 0.85
Tested by
no test coverage detected