History

ignore BDC / EMC marked-content operators

Noam Preil committed 5 years ago

Commit ccb4d1d1 parent 5a668f41 file · +12 −1Browse files

Unified · Split

op.c+12−1
@@ -739,6 +739,13 @@ t4roll(Op *op, Page *p) · 738 unmodified lines
739739 return 0;
740740 }
741741
742+static int
743+opignore(Op *op, Page *p)
744+{
745+ USED(op, p);
746+ return 1;
747+}
748+
742749 static Op ops[] = {
743750 /* 7.8.2 Compatibility operators */
744751 {"BX", cobegin, 0,}, /* begin a compatilibity section */
@@ -836,6 +843,10 @@ static Op ops[] = { · 91 unmodified lines
836843 {"d0", t3width, 2,}, /* width info */
837844 {"d1", t3widthbb, 6,}, /* width & bounding box */
838845
846+ /* 14.6 Marked content */
847+ {"BDC", opignore, 2,},
848+ {"EMC", opignore, 0,},
849+
839850 /* 7.10.5.2 Operators and operands */
840851 /* B.2 Arithmetic operators */
841852 {"add", t4add, 2,},
@@ -885,7 +896,7 @@ static Op ops[] = { · 43 unmodified lines
885896 {"roll", t4roll, -2,},
886897
887898 /* terminator */
888− {nil, nil, 0},
899+ {nil, nil, 0,},
889900 };
890901
891902 // If an op is found at the current position in the stream, the associated Op is

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t