mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-08 04:28:17 +00:00
makeh:: linenumber improvements
This commit is contained in:
parent
61ea588ffb
commit
a33a35ad00
@ -84,7 +84,7 @@ void gen(string sf) {
|
||||
}
|
||||
else {
|
||||
mark_file();
|
||||
cout << "#line " << lineid << " \"" << sf << "\"\n";
|
||||
cout << "#line " << lineid-1 << " \"" << sf << "\"\n";
|
||||
for(int i=0;; i++) {
|
||||
if(i == int(t.size())) { cerr << "Error: unrecognizable EX: " << s << "\n"; }
|
||||
else if(t[i] == '{') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user