Show
Ignore:
Timestamp:
02/27/07 04:14:40 (6 years ago)
Author:
dsmith <dsmith@…>
Children:
9bdc85ae6abb47b8ef60e40acfb7a615a0747a3c
Parents:
871f7f852cb22e9589efe54672b973e41903e6f2
git-author:
L. Donnie Smith <donnie.smith@…> (02/27/07 04:14:40)
git-committer:
dsmith <dsmith@…> (02/27/07 04:14:40)
Message:

wminput: add filenames and proper location tracking to parser error messages

git-svn-id: http://abstrakraft.org/cwiid/svn/trunk@18 918edb2d-ff29-0410-9de2-eb38e7f22bc7

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wminput/parser.y

    r15d141c rd372b07  
    9595 
    9696    va_start(ap, s); 
    97     wminput_err("line %d, column %d:", yylloc.first_line, yylloc.first_column); 
     97    wminput_err("%s: line %d, column %d:", cur_conf->current_config_filename, 
     98                    yylloc.first_line, yylloc.first_column); 
    9899    wminput_err((char *)s, ap); 
    99100    va_end(ap);