summaryrefslogtreecommitdiff
path: root/src/runtime/python/test.py
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2013-04-03 06:42:08 +0000
committerhallgren <hallgren@chalmers.se>2013-04-03 06:42:08 +0000
commitc02d5b188b82856eeb9b9bad16646723f27d822d (patch)
tree059db511aec574729d30c1ce45cbc834d7a72d82 /src/runtime/python/test.py
parent458ffc42d19e1b763b22bd5d6ae59475410fd5ce (diff)
Prevent Unicode characters in warning messages from stopping grammar compilation
When compiling a grammar containing characters that are not supported in the current locale, warning messages could cause GF fail with hPutChar: invalid argument (Invalid or incomplete multibyte or wide character) With this quick fix, warning messages that can not be displayed are silently truncated instead, and compilation continues.
Diffstat (limited to 'src/runtime/python/test.py')
0 files changed, 0 insertions, 0 deletions