diff options
| author | Thomas Knudsen <busstoptaktik@users.noreply.github.com> | 2017-11-20 09:13:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-20 09:13:52 +0100 |
| commit | 3e6700f782e96a46f57e2515815ae4d705090e2b (patch) | |
| tree | 5dd73b5dfb8a9f808bdd41e09d6b62edd30df055 /src | |
| parent | 6bcba7023e52b712dde7dc348efc0b01147cb994 (diff) | |
| parent | 370c616985d5e4465102e72bdbd15e3b6147ded8 (diff) | |
| download | PROJ-3e6700f782e96a46f57e2515815ae4d705090e2b.tar.gz PROJ-3e6700f782e96a46f57e2515815ae4d705090e2b.zip | |
Merge pull request #676 from busstoptaktik/gie-cct-interop
Let gie use init-file syntax
Diffstat (limited to 'src')
| -rw-r--r-- | src/gie.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -781,7 +781,7 @@ static int dispatch (char *cmnd, char *args) { int last_errno = proj_errno_reset (T.P); if (0==level%2) { - if (0==strcmp (cmnd, "BEGIN")) + if (0==strcmp (cmnd, "BEGIN") || 0==strcmp (cmnd, "<begin>")) level++; return 0; } @@ -807,6 +807,7 @@ static int dispatch (char *cmnd, char *args) { if (0==strcmp (cmnd, "ECHO")) return echo (args); if (0==strcmp (cmnd, "echo")) return echo (args); if (0==strcmp (cmnd, "END")) return finish_previous_operation (args), level++, 0; + if (0==strcmp (cmnd, "<end>")) return finish_previous_operation (args), level++, 0; if ('#'==cmnd[0]) return comment (args); if (proj_errno(T.P)) |
