Skip to content

Commit 9f7fa93

Browse files
committed
Merge pull request #12 from jjwatt/master
Problem: Text refers to globdom.h, but the file is called globaldom.h
2 parents ff28919 + eb86995 commit 9f7fa93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ch03.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,9 +490,9 @@ Remember this lesson:
490490

491491
++ Problem: update the version number
492492

493-
After such a lot of work we should release a new version. We defined the version number in our public header file, {{include/globdom.h}}. It should be simple to bump it:
493+
After such a lot of work we should release a new version. We defined the version number in our public header file, {{include/globaldom.h}}. It should be simple to bump it:
494494

495-
* Edit {{include/globdom.h}} to say {{#define GLOBDOM_VERSION_MINOR 2}}
495+
* Edit {{include/globaldom.h}} to say {{#define GLOBDOM_VERSION_MINOR 2}}
496496
* Print the version number from the header:
497497

498498
[[code]]
@@ -507,7 +507,7 @@ gdomd.c: In function ‘main’:
507507
gdomd.c:46:21: error: ‘GLOBDOM_VERSION_MAJOR’ undeclared
508508
```
509509

510-
The reason is that our project header files are confused. We have a mix of hand-written files (the original {{include/globdom.h}}) and generated files doing the same thing. Take a look at {{include/gdom_library.h}} and you'll see it does the same (and more) as we did by hand.
510+
The reason is that our project header files are confused. We have a mix of hand-written files (the original {{include/globaldom.h}}) and generated files doing the same thing. Take a look at {{include/gdom_library.h}} and you'll see it does the same (and more) as we did by hand.
511511

512512
//Solution: define the version and header in our project model.//
513513

0 commit comments

Comments
 (0)