diff options
Diffstat (limited to 'lib/skin_parser/skin_debug.c')
| -rw-r--r-- | lib/skin_parser/skin_debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/skin_parser/skin_debug.c b/lib/skin_parser/skin_debug.c index bcf43ab..52f9127 100644 --- a/lib/skin_parser/skin_debug.c +++ b/lib/skin_parser/skin_debug.c @@ -56,6 +56,8 @@ void skin_error(enum skin_errorcode error, const char* cursor) switch(error) { case MEMORY_LIMIT_EXCEEDED: + error_line_start = NULL; + printf("Error: Memory limit exceeded at Line %d\n", skin_line); error_message = "Memory limit exceeded"; break; case NEWLINE_EXPECTED: |