Use 1-based row and column values for position values - close #30

This commit is contained in:
josh committed 2024-09-25 15:58:03 -04:00
1 parent 98e10d3d14
commit 1d468b6d3c
14 files changed
+303 -299

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ typedef struct
} <%= @grammar.prefix %>position_t;
/** Return whether the position is valid. */
#define <%= @grammar.prefix %>position_valid(p) ((p).row != 0xFFFFFFFFu)
#define <%= @grammar.prefix %>position_valid(p) ((p).row != 0u)
/** User header code blocks. */
<%= @grammar.code_blocks.fetch("header", "") %>