Skip to content

Commit

Permalink
Add test for the recent OOC:Scanner:Pragma fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ilin committed Aug 1, 2011
1 parent b6c03b4 commit 17377e8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/scanner/not-wf/032.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<*undefined_variable*>
16 changes: 16 additions & 0 deletions tests/scanner/not-wf/out-err/032.txt.err
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
In file not-wf/032.txt:
Undefined pragma variable
column=2
line=0
pos=2

Expected symbol `:='
column=20
line=0
pos=20
sym_name=:=

Factor starts with illegal symbol
column=20
line=0
pos=20
6 changes: 6 additions & 0 deletions tests/scanner/not-wf/out-xml/032.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version='1.0' encoding='ISO-8859-1' standalone='yes'?>
<document>
<symbol id='pragma' pos='0' line='0' column='0'>&lt;*undefined_variable*&gt;</symbol>
<symbol id='whitespace' pos='22' line='0' column='22'>&#10;</symbol>
<symbol id='endOfFile' pos='23' line='1' column='0'></symbol>
</document>

0 comments on commit 17377e8

Please sign in to comment.