Skip to content

Commit

Permalink
adapt to Libfolie develop branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kosloot committed Oct 31, 2024
1 parent 6987279 commit 3eaf312
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/foliautils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
push:
branches:
- master
- actions
- develop

paths:
- configure.ac
Expand Down Expand Up @@ -52,6 +52,7 @@ jobs:

- uses: LanguageMachines/ticcactions/cpp-submodule-build@v1
with:
branch: ${{ github.ref_name }}
module: libfolia

- uses: LanguageMachines/ticcactions/cpp-submodule-build@v1
Expand All @@ -76,3 +77,4 @@ jobs:
step: build
status: ${{ env.action_status }}
details: ${{ env.action_details }}
continue-on-error: true
3 changes: 1 addition & 2 deletions src/FoLiA-pm.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ KWargs getAllAttributes( const xmlNode *node ){
if ( node ){
xmlAttr *a = node->properties;
while ( a ){
atts.add( folia::to_string(a->name),
folia::to_string(a->children->content) );
atts[folia::to_string(a->name)] = folia::to_string(a->children->content);
a = a->next;
}
}
Expand Down

0 comments on commit 3eaf312

Please sign in to comment.