mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
makeh:: linenumbers for EX
This commit is contained in:
parent
02269267c9
commit
c5acaacc8d
@ -84,6 +84,7 @@ void gen(string sf) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
mark_file();
|
mark_file();
|
||||||
|
cout << "#line " << lineid << " \"" << sf << "\"\n";
|
||||||
for(int i=0;; i++) {
|
for(int i=0;; i++) {
|
||||||
if(i == int(t.size())) { cerr << "Error: unrecognizable EX: " << s << "\n"; }
|
if(i == int(t.size())) { cerr << "Error: unrecognizable EX: " << s << "\n"; }
|
||||||
else if(t[i] == '{') {
|
else if(t[i] == '{') {
|
||||||
|
Loading…
Reference in New Issue
Block a user